Quote Originally Posted by Wolpak
Sorry for thinking you didn't have this functionality...
Absolutely not your fault! The program has dozens or even hundreds of features that hardly anyone knows about. That's the problem with a script-driven program. The features are invisible unless you plow through the documentation. Hardly anyone is going to spend hours reading all that stuff.

Quote Originally Posted by olipcs',index.php?page=Thread&postID=183448#post18 3448]well for the situation you described I would try the following:

[code]
<Hotkey LButton>
<If MouseIsOverWindowRect Pally 200 200 100 100>
<SendLabel shaman>
<Key 6>
<Else If MouseIsOverWindowRect Pally 200 300 100 100>
<SendLabel shaman>
<Key 7>
<Else>
<ClickMouse>
[/code][/quote]
Thanks for correcting my mistake! :)

Wolpak, you should always listen to Olipcs because unlike me, he actually uses the program. I onlly code the thing. :)

[quote='Wolpak
How many nested If statements can we have? I mean, that is going to be one long Hot key if I have 2 slaves and want to map like 12 buttons each.
Sure it will be long but you have to write a definition for each button somewhere, so why not in a hotkey definition? It's just syntax. Like Olipcs said there's no length limit.