Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
chris74269
Novice


Joined: 26 Mar 2003
Posts: 40

PostPosted: 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} {} {} "" {} {} {}
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net