Macro as a counter? |
Macro as a counter? |
Aug 31 2011, 02:54 PM
Post
#1
|
|
Newbie Group: Members Posts: 1 Joined: 23-December 10 Member No.: 1750 |
I'm not sure if something I'm trying to do is possible or not. It might require programmable triggers.
Essentially, I want to count how many times the mud I play sends me a particular message. So the first time I get the message: * You think your foo skill has improved. * I want to set some macro to 1. And then the next time I get that message, I want to set the macro to 2. And so on. I can make a trigger set a macro, but I can't figure out how to do the addition. I tried ##set macro "%%1" %%1+1 But of course, that just set the variable <foo> whose values was <0> to <foo+1>. Is there currently any way to get any sort of evaluation to happen in the set macro command? So that I could do some calculation based on the current value of the variable <foo> in order to figure out what the new value of the variable <foo> should be? |
|
|
Lo-Fi Version | Time is now: 9th November 2024 - 08:04 PM |