chris74269 Novice
Joined: 26 Mar 2003 Posts: 40
|
Posted: Mon Jun 07, 2004 12:20 am
chaser script |
#CLASS {chaser}
#CLASS 0
#TRIGGER {^@chasevict * , nearby to the (%w).} {#IF %1=north|south|east|west|up|down {%1};%1;kill @chasevict} "chaser"
#TRIGGER {^@chasevict * , right here.} {kill @chasevict} "chaser"
#BUTTON 1 {Chaser On} {#T+ 'chaser';#var chasevict null;#T+ 'meleecount'} {Chaser Off} {#T- 'chaser';#T- 'meleecount'} {} {1} {} {} {} {} {} {} {} {} {} {} {} "" {} {} {}
the #IF clause is to prevent people from sending out a fake emote of (PK) , nearby to the delete;delete.
this is a little script to count damage, can be easily modified for most muds.
#CLASS {meleecount} {disable}
#TRIGGER {Your * *~! ~(Dam~:(&hdmg)~)} {#MATH medmg @medmg+@hdmg}
#TRIGGER {Your shields do &sdamage damage to *!} {#MATH medmg @medmg+@sdamage}
#CLASS 0
#BUTTON 7 {dmgcounter} {} {on|off} {#T+ meleecount;#var medmg 0|#t- meleecount;#var medmg 0} {} {} {} {Size} {74} {23} {} {} {} {} {0|0} {} {} "" {} {} {} |
|