#trig (Experience Progress: >(%1) >) (#MATH exp_pct ((%len( %trim( %1))*100)/50);#say You are at @exp_pct%.) {exp}
This is for some of ya. It's all one line, just copy paste into command line, press enter, then type score!
EXP trig
Actually, the ; might throw it off, and since i don't know how to break it up, here's quick how you write it yourself :)
Make a New trigger
In the boxes of the new trigger......
Pattern: Experience Progress: >(%1) >
Value: #MATH exp_pct ((%len( %trim( %1))*100)/50)
#say You are at @exp_pct%.
Oh, and for some older versions of zmud, the Value box might be called Command instead.
Bah, just tested, first one will work fine, the #trig negates the function of ; for seperating commands. Sorry for the ramble!
Make a New trigger
In the boxes of the new trigger......
Pattern: Experience Progress: >(%1) >
Value: #MATH exp_pct ((%len( %trim( %1))*100)/50)
#say You are at @exp_pct%.
Oh, and for some older versions of zmud, the Value box might be called Command instead.
Bah, just tested, first one will work fine, the #trig negates the function of ; for seperating commands. Sorry for the ramble!
My trigger in tintin...
#action {Experience Progress: >%0 } {#showme { 0| | | | | 5|0 | | | | |100}; #ifexist {lastexp} {#showme {Last known exp: $lastexp}}; #var {lastexp} $0}
#action {Experience Progress: >%0 } {#showme { 0| | | | | 5|0 | | | | |100}; #ifexist {lastexp} {#showme {Last known exp: $lastexp}}; #var {lastexp} $0}
"Being God isn't easy. If you do too much, people get dependent on you; and if you do nothing, they lose hope. You have to use a light touch [...]. When you do things right, people won't be sure you have done anything at all"
--Futurama
--Futurama
-
- Sojourner
- Posts: 176
- Joined: Sun Feb 04, 2001 6:01 am
- Contact:
Who is online
Users browsing this forum: No registered users and 13 guests