ButtKoWitz
Member
- Joined
- Mar 23, 2023
- RedCents
- 342¢
Warning: I'm a Lua noob...
I'm wondering if there's a simple solution to what is, for me, becoming a total PITA. I have 6 toon specific scripts, one for each character in a group. The scripts primarily monitor/apply their buffs and request buffs as needed from others, and also handle a number of other toon-specific routines, such as gem'n/mem'n spells. I have a general "amBusy" var that a toon will set to true, such as when mem'n/gem'n/casting spells so that when other toons need a buff they'll check the caster's amBusy state, if true then they won't request anything.
I have a few other global bools that are used by all toons for general checks, such as for staying invis, breathing water, levitate, which run buff to use (running a druid), etc. these also seem to fail to work reliably.
Problem is I'm having trouble with reliably using globals (which I have in a general non-toon-specific script) that are called by the toon-specific scripts.
I've just started trying my hand at using modules. Yet to have any success with modules but I'm barely into that, with maybe 10 minutes in game trying to test.
Anywho long winded, the gist of my post is: What is a simple/best method for having bools that are "global" (accessible to all toon's scripts) and can be not only accessed but also the var values can be changed by each toon.
Globals? (seems iffy so far in my experience, sometimes works, sometimes maybe not)
Modules?
Events off mq.cmd("/dtell toon1 I'm Busy!")? -- works, semi-slowish programmatically, and my mq window gets spammy! :p
Thanks!
I'm wondering if there's a simple solution to what is, for me, becoming a total PITA. I have 6 toon specific scripts, one for each character in a group. The scripts primarily monitor/apply their buffs and request buffs as needed from others, and also handle a number of other toon-specific routines, such as gem'n/mem'n spells. I have a general "amBusy" var that a toon will set to true, such as when mem'n/gem'n/casting spells so that when other toons need a buff they'll check the caster's amBusy state, if true then they won't request anything.
I have a few other global bools that are used by all toons for general checks, such as for staying invis, breathing water, levitate, which run buff to use (running a druid), etc. these also seem to fail to work reliably.
Problem is I'm having trouble with reliably using globals (which I have in a general non-toon-specific script) that are called by the toon-specific scripts.
I've just started trying my hand at using modules. Yet to have any success with modules but I'm barely into that, with maybe 10 minutes in game trying to test.
Anywho long winded, the gist of my post is: What is a simple/best method for having bools that are "global" (accessible to all toon's scripts) and can be not only accessed but also the var values can be changed by each toon.
Globals? (seems iffy so far in my experience, sometimes works, sometimes maybe not)
Modules?
Events off mq.cmd("/dtell toon1 I'm Busy!")? -- works, semi-slowish programmatically, and my mq window gets spammy! :p
Thanks!

