How does one create a trigger in an execute script box of an alias? Is there a #WAITFOR kind of trigger line that will allow me to do a certain action based on that? I really want to learn how to create/code triggers in a script. Temporary triggers or triggers only recognized within that script would probably be ideal. Ex: If I get equilibrium balance back, then do such and such. Any help will be greatly appreciated. Thanks! (Note: I have thought about using a function, but that still leaves the problem of coding a kind of waitfor trigger line before proceeding with the other commands type of situation. heh)
0
Comments
So for example, you could create a trigger called EqBal that is disabled by default (uncheck the checkbox beside it). Now you can enable EqBal in your alias using:
Don't forget to disable EqBal once it's done doing its thing; you could just add
at the very end of EqBal's code.