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 Dec 23, 2003 7:03 am   

Legend of Chrystancia Quest Piece Counter
 
Pretty simple, got some help off the boards, but mostly my own...


#CLASS {Treasure Counter}
#ALIAS treset {T=0}
#VAR Ttreset {0}
#TRIGGER {You get A gold quest piece from the} {#COLOR gold;#ADD T 1}
#TRIGGER {You sell A gold quest for (%n)} {#COLOR gold;#ADD T -1}
#STAT {Treasure: @T}
#CLASS 0
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Dec 23, 2003 4:29 pm   
 
What is @Ttreset used for?
quote:
#VAR Ttreset {0}
Reply with quote
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Thu Dec 25, 2003 7:22 pm   
 
Well, it's supposed to be treset, not Ttreset. And it's ther because if you have more than one account, theyll have different amounts of treasure pieces. So when I get on, I sell all the pieces i have than set the counter back to 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