Hedning Posted July 18, 2006 Posted July 18, 2006 Is it possible to make a !kill script? Like !kill Can somone here do it for me?
lil Toady Posted July 18, 2006 Posted July 18, 2006 here's a good one: on *:SIGNAL:mta.command:{ if ($3 == !kill) { var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if (%a == -1) mta.msg $1 $2 Absent Name/ID elseif ($mta.health($1,%a) > 0) { var %b = $mta.health($1,%a) while (%b > 0) { mta.slap $1 %a %b = %b - 20 } } } } or if you want something simple: on *:SIGNAL:mta.command:{ elseif ($3 == !kill) { var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if (%a == -1) mta.msg $1 $2 Error - Absent ID else .timer 5 0 mta.slap $1 %a } } but it could be a little bit more spammy then the prev one Do not PM me, im not going to read it anyway.
CoZ Posted July 18, 2006 Posted July 18, 2006 i tried .. it doest give errors but it doesnt work either this will only work in mta for lc / vc but not SA right ? (i cant find the mta.health part in scripting command list) Server Blog | Server quickinfo STFU and dont bug the mta team with ''when is DM comming'' or risk theyre spending more time explaining they're still working on DM than actually getting work done
lil Toady Posted July 18, 2006 Posted July 18, 2006 (edited) thats for VC, because you cant slap in mta:sa yet (correct me if im wrong) Edited July 18, 2006 by Guest Do not PM me, im not going to read it anyway.
Recommended Posts