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.
Old posts that have not been replied to for several years.
r0t3n
Owner
Posts: 507 Joined: Tue May 31, 2005 6:56 pm
Location: UK
Post
by r0t3n » Wed Jun 08, 2005 6:18 pm
Hello, i just made this userlist script, dont know if it will work, please check it and feedback the info to me, Thanks in advance!!
Code: Select all
bind pub o|f !userlist user_list
proc user_list {nick uhost hand chan text} {
if {[userlist] == ""} {
putserv "NOTICE $nick :No users found in my userlist for $chan"
return 0
}
putserv "NOTICE $nick :Userlist for $chan "
foreach user [userlist $chan] {
putserv "NOTICE $nick :\(( $user \|| +[lindex [split [chattr $user -|- $chan] \|] $user]
}
putserv "NOTICE $nick :End of list."
}
r0t3n @ #r0t3n @ Quakenet
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Thu Jun 09, 2005 12:55 am
The best thing you can do is, test it yourself. I don't know the correct output for the elements of [userlist] is.
But, you can first try:
Code: Select all
if {[llength [userlist]] == 0} {
putserv "NOTICE $nick :No users found in my userlist for $chan"
return 0
}
foreach user [userlist] {
putserv "NOTICE $nick :$user"
}
putserv "NOTICE $nick :End of list."
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Thu Jun 09, 2005 2:09 am
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
r0t3n
Owner
Posts: 507 Joined: Tue May 31, 2005 6:56 pm
Location: UK
Post
by r0t3n » Thu Jun 09, 2005 11:48 am
;p i posted this 2 minutes before he replied ;p
r0t3n @ #r0t3n @ Quakenet