egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

tcleggdrop_mcpsfuncs.tcl problems..

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
kenh83
Halfop


Joined: 08 Sep 2010
Posts: 61

PostPosted: Fri Sep 10, 2010 7:36 pm    Post subject: tcleggdrop_mcpsfuncs.tcl problems.. Reply with quote

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:
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:
set mcpskey(#channel) "key"
set mcpsprefix(defaultprefix) "+OK"
set mcpskey(#channel) "+OK"
set mcpskey(defaulte) "default.key.when.non.is.found"
set mcreplyonlyinkind "false"
set mcreplyneverplaintext "true"
set mcdontlistentoplaintext "silent"
set mcmeowreply "true"
set mcautomagic "true"
set mcencryptnick "true"
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:
bind pub - !testme test
  proc test { nick uhost hand chan arg } {
putquick "PRIVMSG #prefish :Hello $nick"
}
bind bot - "relay" relay
proc relay { bot cmd text } {
   putlog "text >> $text <<"
   set section [lindex $text 0]; set name [lindex $text 1]
   putquick "PRIVMSG #channel :$text"
}



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

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)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber