| View previous topic :: View next topic |
| Author |
Message |
emokid Voice
Joined: 07 Dec 2007 Posts: 22
|
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sat Dec 22, 2007 8:11 am Post subject: |
|
|
| Worked for me.. |
|
| Back to top |
|
 |
emokid Voice
Joined: 07 Dec 2007 Posts: 22
|
Posted: Wed Dec 26, 2007 12:09 am Post subject: |
|
|
Can you upload your script please? You can edit out the bot nickname and channel information, etc. I dunno why...I tried it in Windows Eggdrop and it worked but not in Linux.  |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Wed Dec 26, 2007 10:18 am Post subject: |
|
|
It's the same script downloaded from the tcl archive, unaltered, all I did was add it to my bot, edit the variables it requires at the top of the script and rehash. I'm running on a linux platform, so it should work for you as well. Also, I'm running eggdrop v1.6.18 and tcl v8.4.11.
Check that the script is in fact being loaded, it should have a putlog entry that says "Crack the code script loaded."
If you're sure the script is being loaded, you can try debugging what's not working by putting "putcmdlog" lines into the procs, such as where it tests for the channel name (could be you have Upper/Lower case channelnames and the script is case-sensitive for them.)
Something like:
| Code: |
if {$tls_chan != $chan} {putcmdlog "wrong channel - aborting";return}
|
That would tip you off that the script is quitting cos the channel name doesn't match. |
|
| Back to top |
|
 |
emokid Voice
Joined: 07 Dec 2007 Posts: 22
|
Posted: Wed Dec 26, 2007 3:38 pm Post subject: |
|
|
Well the script does load and I can do the commands in the channel, but it doesn't give any hints at all. I ran it over a period of 30 min. and it never gives any hints, even if you do !hint
Like you can do !ctc and the game will start and the bot says so, but it never gives any hints and the game never ends until someone guesses the 6 digits correctly without any hints. |
|
| Back to top |
|
 |
|