EXP trig

Scripts and support for your favorite MUD client.
Galkar
Sojourner
Posts: 486
Joined: Mon Jan 29, 2001 6:01 am
Location: Providence, RI

EXP trig

Postby Galkar » Fri Mar 07, 2003 3:21 pm

#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!
Galkar
Sojourner
Posts: 486
Joined: Mon Jan 29, 2001 6:01 am
Location: Providence, RI

Postby Galkar » Fri Mar 07, 2003 3:24 pm

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!
Galkar
Sojourner
Posts: 486
Joined: Mon Jan 29, 2001 6:01 am
Location: Providence, RI

Postby Galkar » Fri Mar 07, 2003 3:55 pm

Follow the second post, first one doesn't seem to work right. If anyone can help make it work, that'd be great :) Much easier that way!
Lenefir
Sojourner
Posts: 198
Joined: Sat Aug 17, 2002 5:01 am
Contact:

Postby Lenefir » Fri Mar 07, 2003 4:34 pm

My trigger in tintin...

#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
Nekler BlazingWolf
Sojourner
Posts: 176
Joined: Sun Feb 04, 2001 6:01 am
Contact:

Postby Nekler BlazingWolf » Sun Mar 23, 2003 2:42 pm

#TRIGGER {Experience Progress: >(%1)>} {#math exp_pct ((%len(%trim(%1))*100)/50);#say You are at @exp_pct %}
Vazney
Sojourner
Posts: 1
Joined: Sun Oct 12, 2003 6:54 pm

Postby Vazney » Sun Oct 12, 2003 6:56 pm

#TRIGGER {Experience Progress: >(%1)>} {#math exp_pct ((%len(%trim(%1))*100)/50);#say You are at @exp_pct %;#stat You are at @exp_pct %}

This trig is modified from the above one. Its add the counter to yout stat bar as well.
rarlaj
Sojourner
Posts: 67
Joined: Sat Oct 04, 2003 8:01 pm
Location: Bloodtusk
Contact:

Postby rarlaj » Sun Oct 12, 2003 8:46 pm

pattern
Experience Progress: >(%1)>

command
#MATH exppct ((%len(%trim(%1))*100)/50);#stat EXP: @exppct %

puts it on your status bar so its not so spammy

Rarlaj, the spammy shammy

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 22 guests