im trying to make a very simple script that when you type !rules it will display rules in channel. and when you type !faq it will display faq in channel. I started looking at the text being stored in seperate files but gave up cause im very new to this but trying :). So now im trying to include all the commands and all the text in 1 tcl file. I downloaded rules.tcl and tried to modifiy it with 2 binds. Then i tried running 2 rules.tcl along side each other with 2 different binds in each. I will get there but could use some help please.:)
I just copied and pasted your code into help.tcl and loaded it in the scripts sections and added the line in the config and restarted the bot just to see what it should do before i messed with it and i cant get it to work. Sorry i did say i was a newbie and i bet its something realy silly .
Well I did everything like any other script there are no errors that come up. The bot is set to die on any errors its starts fine i even put a putlog line at the end just to see if it loaded and was reading the file. I go onto the channel where my egg is and perform the !faq command and nothing happens.