complex Apprentice
Joined: 12 Apr 2004 Posts: 134 Location: USA
|
Posted: Sat Jul 17, 2004 5:30 am
kotl token tracker |
Hmmm here is the update
#CLASS {tokexchange}
#VAR tokenin {Arolas30}
#VAR tokenout {Arolas30}
#TRIGGER {You receive (%n) (*) quest tokens from (*).} {#IF %iskey( @tokenin, "%3") {#ADDK tokenin {%3} {%eval( %db( @tokenin, "%3") + %1)}} {#ADDK tokenin {%3} {%1}}}
#TRIGGER {You give (*) (%n) (*) quest tokens.} {#IF %iskey( @tokenout, "%1") {#ADDK tokenout {%1} {%eval( %db( @tokenout, "%1") + %2)}} {#ADDK tokenout {%1} {%2}}}
#CLASS 0 |
|