I take your point regarding confusing people. Let me try as simple an explanation as I can make it then. I need a command where, if you type a command to read a line, The bot reads the line # from a file in a folder and puts the line itself back in the channel;
<John> !folder filename line#
<Bot> Line1 this is the text on line 1
I can't think of a clearer way to put it. If you can by all means let me know.
Last edited by mabus on Fri Apr 18, 2008 11:45 am, edited 1 time in total.
Tosser yeah... there's no error info though.. It just doesn't reply at all. I know this is probably a bit of a pain in the neck for you, I really do appreciate you helping me.
mabus wrote:Tosser yeah... there's no error info though.. It just doesn't reply at all. I know this is probably a bit of a pain in the neck for you, I really do appreciate you helping me.
Now after you've clicked demond's advice link, you surely understand how hard it is for a stale 'it gives no reply' to help troubleshoot anything. If you don't understand, now is the time to ask questions. If you do understand, your follow up post with .set errorInfo report should be forthcoming...
Edit: In reply to dragonlord's post below; Yes, certainly there are cases where .set errorInfo indicates no problems. But even this is helpful to prove where the logic errors are.
Last edited by speechles on Fri Apr 18, 2008 12:47 pm, edited 2 times in total.
I will now take the time to point out that sometimes when a script "does not work", there is also no errorInfo (one word, uppercase I, gives more information when the bot spews out errors on the partyline).
In some cases you may need to add some debugging code in the script (putlog, putidx, etc).