By Sammeh 2016-09-16 06:36:12
One of the annoying things I've found about gearswap / LUA scripting (and it's not really annoying just something you really need to know going in) is that variables are case sensitive.
sets.Idle is not sets.idle
With that said - For a long while I built sets.Idle (and various other sets) that wouldn't ever go in correctly. Or I'd variablize things that were used repeatedly: like JSE_Cape1="cape info here"; and JSE_Cape2="cape info here" then use "back=jse_cape1" in a set. Well that wouldn't work because it wasn't back=JSE_Cape1.
Anyway - just a tip that frustrated me a while at the beginning.. Specifically with idle, where I effectively don't use much of the mote stuff, because I'd already hand written to use the sets.Idle vs sets.idle presumed sets.