|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: 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 |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Sun Feb 16, 2003 8:25 am |
never mind it works the right way
megamog75 |
|
|
|
|
|