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
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Tue Sep 02, 2003 11:01 pm   

My Achaea Ratting counter sript...
 
#CLASS {Ratting}
#ALIAS rreset {brat=0;yrat=0;rat=0;orat=0;blrat=0;trat=0;money=0}
#VAR rat {0}
#VAR money {0}
#TRIGGER {You pick up the corpse of a black rat.} {#add money 35;#add blrat 1;#add trat 1}
#TRIGGER {You pick up the corpse of a baby rat.} {#add money 7;#add brat 1;#add trat 1}
#TRIGGER {You pick up the corpse of an old rat.} {#add money 28;#add orat 1;#add trat 1}
#TRIGGER {You pick up the corpse of a young rat.} {#add money 14;#add yrat 1;#add trat 1}
#TRIGGER {You pick up the corpse of a rat} {#add rat 1;#add money 21;#add trat 1}
#TRIGGER {then smiles at you and hands you} {rreset}
#TRIGGER {old rat} {#cw white,darkgray}
#TRIGGER {black rat} {#cw black,darkgoldenrod}
#TRIGGER {a rat} {#cw green,burlywood}
#TRIGGER {baby rat} {#cw rosybrown}
#TRIGGER {young rat} {#cw cyan,bold}
#TRIGGER {full-grown rat} {#cw green,burlywood}
#TRIGGER {Entrance to the Medina.} {sell rat to Hakhim}
#STAT {Baby Rats: @brat | Young Rats: @yrat | Rats: @rat | Old Rats: @orat | Black Rats: @blrat | Total: @trat = @{money}gp}
#CLASS 0

With the triggers (not part of the script):

#TRIGGER {You will now notice the movement of rats. Happy hunting!} {#T+ Ratting}
#TRIGGER {You will no longer take notice of the movement of rats.} {#T- Ratting}
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Wed Sep 03, 2003 5:58 pm   
 
Your Script?
Wich part?
It looks real fimilure...

http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=10797
Reply with quote
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Wed Sep 03, 2003 10:53 pm   
 
Er... yeah... right... it doest look nything like yous. lol. it has nothing to do with the inventory or what you're wearing...just what you pick up while its on O_o and the whole thing is mine. lol. silly rabbit! :P
Reply with quote
Sparkle
Beginner


Joined: 09 Aug 2003
Posts: 12
Location: United Kingdom

PostPosted: Fri Sep 05, 2003 12:49 pm   
 
Actually this script was written and posted on http://achaea.cjb.net a LONG time ago, all you did was add the ability to show how many of each type of rat you have, which is completely pointless anyway.
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