Randy96 Posted March 16, 2007 Share Posted March 16, 2007 This Deathmatch script i was wondering about on *:SIGNAL:mta.kill: { !writeini -n " $+ $Dm.dir $+ Dm.ini" Level $mta.name($1,$2) + 1 mta.say $1 $mta.name($1,$2) Just Gained 1 Level } now would that add i level every time they kill some one aslo i want to know the funtion of when you die so i can -1 level thanks Randy Link to comment
Scooby Posted March 16, 2007 Share Posted March 16, 2007 This Deathmatch script i was wondering about on *:SIGNAL:mta.kill: { !writeini -n " $+ $Dm.dir $+ Dm.ini" Level $mta.name($1,$2) + 1 mta.say $1 $mta.name($1,$2) Just Gained 1 Level } now would that add i level every time they kill some one aslo i want to know the funtion of when you die so i can -1 level thanks Randy No it wont, u need to use $calc(bla + bla), so it should look something like this: on *:SIGNAL:mta.kill: { !writeini -n " $+ $Dm.dir $+ Dm.ini" Level $mta.name($1,$2) $calc($readini($dm.dirdm.ini,level,$mta.name($1,$2)) + 1) mta.say $1 $mta.name($1,$2) Just Gained 1 Level } this would add 1, of course to subtract, u would just replace the + with a - Also, ur pic seems a little on the large size Link to comment
Recommended Posts