egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

.chanset

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
.pt
Halfop


Joined: 16 Nov 2005
Posts: 71

PostPosted: Tue Apr 04, 2006 10:16 am    Post subject: .chanset Reply with quote

can someone make a script so i can control the chanset command from public or msg commands.

tks in advance
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Tue Apr 18, 2006 11:33 am    Post subject: Reply with quote

Several scripts already exist for that. Here are only a couple examples:
Fz Commands
Toolz (from Project "Kalich")
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Apr 18, 2006 12:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
.pt
Halfop


Joined: 16 Nov 2005
Posts: 71

PostPosted: Thu Apr 20, 2006 7:34 pm    Post subject: found one Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Apr 21, 2006 10:55 pm    Post subject: Re: found one Reply with quote

.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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber