| View previous topic :: View next topic |
| Author |
Message |
mabus Voice
Joined: 17 Jun 2005 Posts: 27
|
Posted: Fri Apr 18, 2008 11:40 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
r0t3n Owner
Joined: 31 May 2005 Posts: 507 Location: UK
|
Posted: Fri Apr 18, 2008 11:43 am Post subject: |
|
|
As you said, the command does not reply, it will be alot easier to fix the problem if you can paste the errorinfo. _________________ r0t3n @ #r0t3n @ Quakenet |
|
| Back to top |
|
 |
mabus Voice
Joined: 17 Jun 2005 Posts: 27
|
Posted: Fri Apr 18, 2008 11:46 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Fri Apr 18, 2008 11:57 am Post subject: |
|
|
| 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. |
*sigh* .. time to get remedial, let's regress a bit and take some advice from demond.
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 |
|
| Back to top |
|
 |
r0t3n Owner
Joined: 31 May 2005 Posts: 507 Location: UK
|
Posted: Fri Apr 18, 2008 12:11 pm Post subject: |
|
|
I edited the post, give it a try... _________________ r0t3n @ #r0t3n @ Quakenet |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Fri Apr 18, 2008 12:34 pm Post subject: |
|
|
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). |
|
| Back to top |
|
 |
mabus Voice
Joined: 17 Jun 2005 Posts: 27
|
Posted: Fri Apr 18, 2008 12:45 pm Post subject: |
|
|
Same result, no reply. I tried the .set errorInfo command as suggested (immediately after the error) while logged in, and got back:
[11:42] #Mabus# set errorInfo
Currently:
So I guess it didn't detect any errors. I've also commented out all tcl's except test.tcl so there is no other conflict.
In case it helps, the command I am typing in channel is;
!txt test 1
The folder is txt
the file is test (no extension)
and line 1 reads: 1 this is a test
The bot does not reply at all when I type the command. |
|
| Back to top |
|
 |
|