avatar image

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

Login with username, password and session length
  • Monday April 22, 2024, 9:17 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

Author Topic: tcleggdrop_mcpsfuncs.tcl problems..  (Read 8934 times)


  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
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:
loadmodule blowfish
loadmodule uptime
source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/tcleggdrop_mcpsfuncs.tcl
source scripts/userinfo.tcl
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) ""
  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]
« Last Edit: September 10, 2010, 06:42 PM by jon8 »


  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,901
    • View Profile
    • Mouser's Software Zone on
    • Read more about this member.
    • Donate to Member
Re: tcleggdrop_mcpsfuncs.tcl problems..
« Reply #1 on: September 10, 2010, 08:30 PM »
welcome to the site jon8.

the two things that jump out at me are:
set mcreplyneverplaintext "true"
set mcdontlistentoplaintext "silent"

the plaintext ignoring stuff is notoriously flakey, and i think i added comments in the settings file to not use them and to use the newer plaintext blocker.

but either way, best thing is to avoid all of these plaintext blocking functions and the standalone plaintext blocking script until the rest is working.

and do join #mircryption on efnet for more live help -- mircryption is a rare case where chatting online is easier to help sometimes.