I am kinda new to the scripting scene and I am trying to learn lua as I go. Anyway, I was wondering how I could make a variable I have stored as a global variable into something I can use as in a trig.
For example, my global variable is named "customer" (i change it often depending on who the customer is) and I want a few of my trigs to respond to commands coming from the named stored in that variable only. Is this possible and how can I do it?
Also, How do you make something run faster? I have an alias that is supposed to access the global variable and return a note with "<customer name> was your last customer" and it takes quite some time to return that. How can I speed this up?
Thanks for your help,
Dak
For example, my global variable is named "customer" (i change it often depending on who the customer is) and I want a few of my trigs to respond to commands coming from the named stored in that variable only. Is this possible and how can I do it?
Also, How do you make something run faster? I have an alias that is supposed to access the global variable and return a note with "<customer name> was your last customer" and it takes quite some time to return that. How can I speed this up?
Thanks for your help,
Dak