This is actually a snippet from a much larger project called "XeroBot" im working on. However I couldn't find a bot autojoin system on here that suited my taste's specifically, So I decided to code my own, aswell as release it here for you guys to critique/user/whatever. Everything should function correctly, had to do a LITTLE butchering to it to make it stand alone, as the full snippet use's alot..
Ok since you guys cant benefit from my YVDA snippet, this one is something you guys can see and use (maybe idk) this manages decks "Doesnt auto load decks you select a file and it assumes its your deck, hell you could use LOLZORS.TXT as your deck file and it wont effect the script" it manages wins/loss's threw a hash table and also allows you to display your record. anyways hope you enjoy.
Well this is an expansion of my Text File System this one is ALOT more advanced. it now rocks a dialog, it also has more extensions that just .txt, this one also keeps track of all your triggers and not just one. For educational purpose's ill keep my old one up. in case people prefer simplicity over this. Anyways enjoy.
Now onto this snippet. Made this for a friend who wanted a script like !Fact or !joke and wanted to quickly change between them. It will tell you when you load it how to use it, but for kicks and giggles heres the syntax: /Trigger : will set you trigger, Example [ /Trigger !Joke ] would set !joke for your trigger.