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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Sun Feb 16, 2003 5:41 am   

adding amout to display @var
 
Ok this is the trigger:
mega charges you 67 gold to repair a disk
mega charges you 2 gold to repair an visor

I want to collect this and echo a total amount with a temp trig to shut the class off that i put it in

this is what i have but seems to mess up.
#ALIAS repairall {rem all;#t+ cost;#wa 1500;repair all;#wa 1500;wear all;save}
#CLASS {cost}
#VAR gold {20}
#TRIGGER {(%w) charges you (%d) gold} {#ad gold "%2";#TEMP eqidtemptrig {^$} {#echo %1 charged me @gold for all of the repairs.;#var gold "";#T- cost}}
#CLASS 0

What do you suggest?

megamog75
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Sun Feb 16, 2003 8:25 am   
 
never mind it works the right way


megamog75
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion 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