You might like my script that I'm working on that constantly scans the buffbar and return global settings, so that global settings are either true or false that can then be called in a global namespace. this would probably be the quickest method. Now that I am begining to under stand global stuff I like it a lot.
One script for combat, one for looting, one for deciding what to do i.e. recal here until this then do that. for example that thing I pm'd you about uses your dexer and TM's claw to perform a routine task in game. I keep thinking a script that just returns certain variables constantly that can be pluged into any script. current health, poisoned, etc.