on *:VARIABLE:{

I think this would be a nice addition to the events.

The way this would work is that each time a variable was set $1 would be the item (variable name) and $2- would be its value or something similar. I will show you an example of how this is helpful.

Suppose you have variable %A in 10 scripts. Each one of the scripts triggers at different times. Suppose you wanted a command to trigger when the variable was at a certain value. Instead of adding a check feature to all 10 scripts you could add something like this:

on *:VARIABLE:{ if ($1 = A) && ($2 = 100) { /echo -a * Variable $1 is now at value $2) } }

If the item was A and the value of it was 100, it would trigger.

Thanks for your time.

-Andrew


"In order to succeed, your desire for success should be greater than your fear of failure."