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.

error in relay.tcl

Old posts that have not been replied to for several years.
Locked
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

error in relay.tcl

Post by YooHoo »

This is an excerpt from cl00bie's relay1.0.0.tcl which i'm encountering a few probs....The eggie errors with this message :

10:35:<GhostRydr> [10:22] Tcl error [send_mode]: called "send_mode" with too many arguments

and I think this is the portion of the TCL that applies.....i hope.....:


proc send_mode {nick uhost hand chan mchg} {
if {[string first "b" [lindex $mchg 0]] != -1} {
send_across "ban" $chan $nick $mchg
}
}
bind mode - * send_mode

anyone see anything amiss by chance? or is more info needed
:mrgreen:
User avatar
Xpert
Halfop
Posts: 88
Joined: Mon Mar 08, 2004 7:03 am

Post by Xpert »

You forgot the "vict" :)

Code: Select all

bind mode - * send_mode
proc send_mode {nick uhost hand chan mchg vict} {
  if {[string first "b" [lindex $mchg 0]]} {
    send_across "ban" $chan $nick $mchg
  }
}
Xpert.
Locked