can someone make a script so i can control the chanset command from public or msg commands.
tks in advance
Code: Select all
bind pub n|n !chanset pub:chanset
proc pub:chanset {nick uhost hand chan arg} {
foreach {set value} [split $arg] {break}
if {![info exists value]} {
catch {channel set $chan $set} error
} {
catch {channel set $chan $set $value} error
}
if {$error == ""} {
puthelp "privmsg $chan :Successfully set $arg"
} {
puthelp "privmsg $chan :Error setting $arg: [lindex $error 0]..."
}
}
Try using the Search functions or Google?.pt wrote:i found one but it says i need a toolkit.tcl but i dont find it
anyone knows where i can get it...
#############################################################
## ckc TCL v.3.31 by cokkie <cokkie@gmail.com> ##
## Created Wednesday, October 11, 2000 5:03:34 AM ##
## Modified Friday, July 05, 2004 8:11:27 AM ##
## Copyright © 2002 cokkie® CrW. ##
## ------------------------------------------------------- ##
## REQUIRES EGGDROP 1.3+ with toolkit.tcl and alltools.tcl ##
#############################################################