wrong # args: should be "proc name args body" while executing "proc rwb_cmode {nick uhost hand chan mc {victim ""}} { ..."
The bind statment is as follows:
bind mode - * rwb_cmode
Any help would be greatly appreciated. I have also tried the following:
Code: Select all
proc rwb_cmode_fix {nick uhost hand chan mc {victim ""}} {
if {$victim != ""} {
append mc "$victim"
}
rwb_cmode $nick $uhost $hand $chan $mc
}
proc rwb_cmode {nick uhost handle channel args} {
set nick [string tolower $nick]
set change [string tolower [lindex [split $args] 0]]
set victim [join [lrange [split $args] 1 end]]...