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 

'Spychan' Modification Request: Add Channel User Listing

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


Joined: 21 Apr 2008
Posts: 30

PostPosted: Tue Dec 16, 2008 9:36 am    Post subject: 'Spychan' Modification Request: Add Channel User Listing Reply with quote

Hello Forum,

I am testing spychan.tcl and thus far , am happy with it. What it does lack however, is a public command to list the users (userlist) in the channel it is monitoring.

Example: Some types !list in home channel, the bot displays all the people in the monitored channel. Like the .channel command in the bot.

Im a tcl newb and really cant do it myself, would really appreciate it if yomeone could take a look and help me out. I will paste below a sample of the code for 'spychan.tcl' or alternatively you can look at the script here:

http://www.egghelp.org/tclhtml/3478-4-0-0-1-spychan.htm

Thanks in advance for taking the trouble to read this post and any
help. Smile

Achilles

bind JOIN -|- "$spy(chan) *" spychan:join

proc spychan:join { nickname hostname handle channel } {
global spy
if {[string equal -nocase $channel $spy(chan)]} {
putserv "PRIVMSG $spy(home) :\[$channel\] * $nickname ($hostname) has joined $spy(chan)"
}
}
Back to top
View user's profile Send private message
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