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.
Old posts that have not been replied to for several years.
M
Max Payne
Post
by Max Payne » Sun Aug 03, 2003 11:05 am
Hi,
how can i bind commands to control the eggdrop with commands like /msg botnick .command?
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Sun Aug 03, 2003 5:16 pm
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 » Mon Aug 04, 2003 12:09 am
But i do so, but it doesn't work...
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Mon Aug 04, 2003 8:44 am
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 » Mon Aug 04, 2003 9:28 am
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...