This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Control Eggdrop by Query

Old posts that have not been replied to for several years.
Locked
M
Max Payne

Control Eggdrop by Query

Post by Max Payne »

Hi,

how can i bind commands to control the eggdrop with commands like /msg botnick .command?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Yes you can by using the bind msg. Consult the tcl-commands.doc from the docs/ dir that comes with the eggdrop.
Once the game is over, the king and the pawn go back in the same box.
M
Max Payne

Post by Max Payne »

But i do so, but it doesn't work...
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Forgot to mention the msgm. read where I've sugested theyr coments and start doing something that suiots your needs. Also, a little forum search should give you some examples used by other members of this forum in theyr everyday stuff.
Once the game is over, the king and the pawn go back in the same box.
M
Max Payne

Post by Max Payne »

In the TCL Docu:

'bind msg - stop msg:stop' (which makes a msg-command "stop" call the
Tcl proc "msg:stop")
(1) MSG
bind msg <flags> <command> <proc>
procname <nick> <user@host> <handle> <text>

Description: used for /msg commands. The first word of the user's
msg is the command, and everything else becomes the text argument.
Module: server
And now my script that doesn't work:
bind msg - muh msg:muh

proc msg:muh { nick host chan text } {
puthelp "privmsg $nick :Test"

}
I don't see any wrong part...
Locked