|
daemoan.vermillious Apprentice
Joined: 28 Feb 2009 Posts: 135 Location: Chico, Ca
|
Posted: Wed Mar 23, 2011 4:39 pm
trigger off propmpt? |
Heres My Prompt:
<[10324068] [32500H 31500M 32458V]>
i wanting to trigger off my exp at or over 20000000 exp
to
Convert 20000000 qps |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Wed Mar 23, 2011 4:52 pm |
Code: |
<trigger priority="7490" newline="false" prompt="true" id="749">
<pattern><~[(%d)~] ~[(%d)H (%d)M (%d)V~]></pattern>
<value>$exp=%1
$health=%2
$mana=%3
$vitality=%4
#IF ($exp=>20000000) {Convert 20000000 qps}</value>
</trigger>
|
It makes local variables for your vitals as well, you can throw them away or not |
|
_________________ Discord: Shalimarwildcat |
|
|
|
daemoan.vermillious Apprentice
Joined: 28 Feb 2009 Posts: 135 Location: Chico, Ca
|
Posted: Mon Mar 28, 2011 4:29 am |
/so I had to make a new prompt
so I had to remake the trigger this is it
-=(<210100115> <55000(H) 54048(M)> <0>)=-
I made this trigger
Pattern
^~-~=~(~<(%d)~> ~<(%d)~(H~) (%d)~(M~)> ~<%d~>~)~=~-
Value:
$exp=%1
$health=%2
$mana=%3
$fight=%4
#IF ($exp=>200000000) {#10 Convert 20000000 qps}
Iam getting this error:
ERROR: Trigger "^~-~=~(~<(%d)~> ~<(%d)~(H~) (%d)~(M~)> ~< ~>~)~=~-" fired but did not compile
also
I put this in a Class Called Exper
Can I fire that trigger once and then disable the class and then re enable it after its been recieves but the mud
This is what it says when i exchange for qps:
You exchange 20000000 experience for 200 QPS.
This is What is says when i have no more exp to convert |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Mon Mar 28, 2011 11:21 am |
Use this pattern:
Code: |
-=~(<(%d)> <(%d)~(H~) (%d)~(M~)> <(%d)>~)=- |
And yes, you want to give the trigger above an ID of some sort like AutoQPS
Then at the end of the above trigger add a new lline:
Then make a new trigger to turn it back on:
Code: |
#TR {You exchange 20000000 experience for 200 QPS. } {#T+ AutoQPS} |
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Myrkul Wanderer
Joined: 21 Aug 2008 Posts: 85
|
Posted: Wed Mar 30, 2011 3:20 am |
[edit][/edit]
|
|
|
|
|
|