| View previous topic :: View next topic |
| Author |
Message |
.pt Halfop
Joined: 16 Nov 2005 Posts: 71
|
Posted: Tue Apr 04, 2006 10:16 am Post subject: .chanset |
|
|
can someone make a script so i can control the chanset command from public or msg commands.
tks in advance |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Tue Apr 18, 2006 11:33 am Post subject: |
|
|
Several scripts already exist for that. Here are only a couple examples:
Fz Commands
Toolz (from Project "Kalich") |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Apr 18, 2006 12:25 pm Post subject: |
|
|
I don't know about Toolz, but my FzCommands tcl doesn't control channelsets. This code does though:
| Code: | 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]..."
}
} |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
.pt Halfop
Joined: 16 Nov 2005 Posts: 71
|
Posted: Thu Apr 20, 2006 7:34 pm Post subject: found one |
|
|
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 ##
############################################################# |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Apr 21, 2006 10:55 pm Post subject: Re: found one |
|
|
| .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 ##
############################################################# |
Try using the Search functions or Google? _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
|