|
prestojosh Beginner
Joined: 21 Feb 2006 Posts: 19
|
Posted: Thu Nov 22, 2007 6:23 am
Help with a trigger plz |
So i'm making these triggers to adept spells, and I'm kinda getting hungup on deleting the item off the list of spells to adept.
Heres how it looks.
#VAR adepting {Spell1|Spell2|Spell Three|Spell Four}
I need something that will delete spells off the list according to a trigger like this:
You are now an adept of Spell1! You gain 120000 bonus experience!
You are now an adept of Spell Three! You gain 120000 bonus experience!
Right now I have the following triggers, which aren't working to extract the adepted spell off the list:
#TRIGGER {You are now an adept of (%w)! You gain (%n) bonus experience!} {#DELITEM adepting ~"%1~"}
#TRIGGER {You are now an adept of (%w) (%w)! You gain (%n) bonus experience!} {#DELITEM adepting ~"%1 %2~"}
There are one word and two word spells on the adepting variable list. The adept message always looke like:
You are now an adept of whateverspell! You gain howevermany bonus experience!
Any ideas? |
|
_________________ -Presto |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu Nov 22, 2007 6:33 am |
#TRIGGER {You are now an adept of (*)! You gain %n bonus experience!} {#DELITEM adepting {%1}}
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
prestojosh Beginner
Joined: 21 Feb 2006 Posts: 19
|
Posted: Fri Nov 23, 2007 3:45 am |
Newp, that didn't work. :(
|
|
_________________ -Presto |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Nov 23, 2007 3:52 am |
Did you remove the other 2 triggers first? What doesn't work about it? Does it not fire on the line? Does the item not delete? Can you copy the actual variable you are using and actual mud outputs and paste them here?
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|