|
n0manarmy Newbie
Joined: 31 May 2002 Posts: 8
|
Posted: Wed May 12, 2004 3:49 pm
Newb question (promise i tried to research first) |
I'm trying to get this line to fire a trigger to store the amount of potions in the variable PURPLE
a glowing purple potion (69)
I cannot get the amount to store in a variable without the () being included (Tried using %d with no luck.)
Secondly (which i also researched) the variable PURPLE which will contain the amount of potions im trying to decrease by 1 every time i press the F1 macro key and I can't get the value to subtract :(
Please help if you have the time? |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Wed May 12, 2004 4:32 pm |
Please read the Pattern Matching helpfile
Also these are good reading materials
#HELP TRIGGER
#HELP Variable
#HELP ADD
#TR {A glowing purple potion ~((%d)~)} {purple=%1}
#KEY F1 {#ADD purple -1} |
|
|
|
|
|