This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

admins

Old posts that have not been replied to for several years.
Locked
G
Grama

admins

Post by Grama »

i wan`t a script that will display the chan owners, master,ops and voice in the channel, on a pub comand like !admins . thx
d
dollar
Op
Posts: 178
Joined: Tue Oct 28, 2003 3:47 pm
Location: Netherlands

Post by dollar »

Check http://www.suninet.nl/tclguide/ for a good guide to eggdrop TCL scripting, and doc/tcl-commands.doc ofcourse.
dollar (or something similar) at:
#eggdrop / #tcl - undernet
#egghelp / #tcl / #eggtcl - efnet
#eggdrop.support / #tcl - quakenet
#eggdrop - ircnet
User avatar
duofruo
Halfop
Posts: 94
Joined: Thu Oct 23, 2003 3:17 pm
Location: Ploiesti@.ro
Contact:

Post by duofruo »

here is a little hint

Code: Select all

foreach user [userlist] {
		if [matchattr $user n|n $channel] {
go 4 it
Embrace The Inevitable
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Code: Select all

set ownes [userlist n] ; set masters [userlist m] ; set ops [userlist o] ; set voices [userlist v]
Once the game is over, the king and the pawn go back in the same box.
G
Grama

Post by Grama »

caesar
i want the admin from a channel, not global
User avatar
duofruo
Halfop
Posts: 94
Joined: Thu Oct 23, 2003 3:17 pm
Location: Ploiesti@.ro
Contact:

Post by duofruo »

Code: Select all

set owners [userlist -|n $chan] 
Embrace The Inevitable
Locked