topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 19, 2024, 6:03 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jon8 [ switch to compact view ]

Pages: [1]
1
Mircryption / tcleggdrop_mcpsfuncs.tcl problems..
« on: September 10, 2010, 06:30 PM »
I am unable to get tcleggdrop_mcpsfuncs.tcl to work correctly. Ill explain more of whats going on after I describe my settings:

bottom of my eggdrop.conf file:
[code=tcl]
loadmodule blowfish
loadmodule uptime
source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/tcleggdrop_mcpsfuncs.tcl
source scripts/userinfo.tcl
loadhelp userinfo.help
source scripts/relay.tcl

tcleggdrop_mcps_sitesettings.ini file:
Code: Text [Select]
  1. putlog "McEggdrop TCL Helper Functions - settings file loaded."
  2. set mcpskey(#channel) "key"
  3. set mcpskey(#channel) "+OK"
  4. set mcpsprefix(defaultprefix) "+OK"
  5. set mcpskey(defaulte) "default.key.when.non.is.found"
  6. set mcreplyonlyinkind "false"
  7. set mcreplyneverplaintext "true"
  8. set mcdontlistentoplaintext "silent"
  9. set mcmeowreply "true"
  10. set mcautomagic "true"
  11. set mcencryptnick "true"
  12. set mcmaxlinelen 440

I do not get any errors when starting the bot:

[03:06] McEggdrop TCL Helper Functions - settings file loaded.
[03:06] McEggdrop TCL Helper Functions v1.00.29 loaded (replyencrypt noplainreply meowreply automagicon noplainlistensilent).

I send the command, 'putallbots relay $text' .. this is sent from my hub bot, that does not have McEggdrop loaded into it.

In which $text contains an entire line of text. On the leaf bot, the one running McEggdrop i have this script loaded:

Code: Text [Select]
  1. bind pub - !testme test
  2.   proc test { nick uhost hand chan arg } {
  3. putquick "PRIVMSG #prefish :Hello $nick"
  4. }
  5. bind bot - "relay" relay
  6. proc relay { bot cmd text } {
  7.         putlog "text >> $text <<"
  8.         set section [lindex $text 0]; set name [lindex $text 1]
  9.         putquick "PRIVMSG #channel :$text"
  10. }

When i do !testme in any channel, the bot replies USING FISH "Hello jon8"

When using putallbots command from the hub, the bot does NOT send ANY text to #channel. It MUST BE NOTED that it does 'putlog' the text (first line after the relay procedure starts)[/code]

Pages: [1]