When should i use what? Which uses the less ram, which is faster, such things. I'm using %vars for everything right now, but I dunno what I should use.
I keep a file called hash.ini where every hashtable is saved on exit and loaded on start, I only ever use global variables if I need to store a single value.
should I create a routine to save the hash table say every 3 minutes in case mIRC crashes? ( mIRC doesn't crash, but when I write an infinite loop I need to make it crash )
mirc does crash on some rare occasions, but you don't have to crash/end-task it yourself when you're stuck in an infinite loop. Just hit Ctrl+Break; the running script is halted and mirc unfreezes.