Page 1 of 1

Razor System Messages

Posted: Wed Sep 05, 2012 9:18 pm
by Mikel123
How far does the Razor "If SysMessage" function look back?

I'm trying to set up an ID macro, but what happens is this:

1) ID a wand of greater healing, look for SysMessage "greater heal", find it.
2) ID a wand of lightning, look for SysMessage "greater heal", and it still finds it from the previously identified item. My intent was that it would not find this, and would next look for SysMessage "lightning" which it would find.

Re: Razor System Messages

Posted: Wed Sep 05, 2012 9:47 pm
by Pirul
Not sure what you're trying to accomplish. I don't understand what you mean with "find"ing an item.

Re: Razor System Messages

Posted: Wed Sep 05, 2012 10:25 pm
by Mikel123
Sorry, I should have written:
1) ID a wand of greater healing, look for SysMessage "greater heal", find it.
2) ID a wand of lightning, look for SysMessage "greater heal", and it still finds the sysmessage description from the previously identified item. My intent was that it would not find this, and would next look for SysMessage "lightning" which it would find.
Rammar in IRC explained how SysMessage works. I guess it looks back through all sysmessages since you last identified something in a sysmessage. So I'm putting an automatically matching "If SysMessage..." both before and after the meat of my macro, to "reset" it to only actually look at the most recent message, rather than my entire history.

Re: Razor System Messages

Posted: Wed Sep 05, 2012 10:52 pm
by Causa Mortis
mmm macro meat