Welcome Guest.   Make a donation to an author on the site October 01, 2014, 11:25:21 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the Practical Guide to DonationCoder.com Forum Search Features
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: tcleggdrop_mcpsfuncs.tcl problems..  (Read 2713 times)
jon8
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« on: September 10, 2010, 06:30:50 PM »

[copy or print]
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:
Formatted for TCL with the GeSHI Syntax Highlighter [copy or print]
  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:

Formatted for TCL with the GeSHI Syntax Highlighter [copy or print]
  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:52 PM by jon8 » Logged
mouser
First Author
Administrator
*****
Posts: 33,435



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: September 10, 2010, 08:30:36 PM »

welcome to the site jon8.

the two things that jump out at me are:
Quote
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.
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.036s | Server load: 0.1 ]