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.

Whats Wrong ?

Old posts that have not been replied to for several years.
Locked
User avatar
Rusher2K
Halfop
Posts: 88
Joined: Fri Apr 18, 2003 10:45 am
Location: Germany
Contact:

Whats Wrong ?

Post by Rusher2K »

Tcl error [say]: called "say" with too many arguments

Code: Select all

bind pub - ${PUBCHAR}say say

proc say {text} {
if {$chan!="#vitamin.c"} {return}
  set djsay [lindex $text 0]
  puquick "msg #gab.sound! :Msg: $djsay"
}
J
Juustro
Voice
Posts: 11
Joined: Wed Oct 02, 2002 4:15 pm

Post by Juustro »

From tcl-commands.doc in eggdrop doc dir
(4) PUB
bind pub <flags> <command> <proc>
procname <nick> <user@host> <handle> <channel> <text>

Description: used for commands given on a channel. The first word
becomes the command and everything else is the text argument.
Module: irc
proc say {text} {
->
proc say {nick host hand chan text} {
Locked