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.

!userlist doesn't work

Help for those learning Tcl or writing their own scripts.
Post Reply
c
cleaner
Voice
Posts: 15
Joined: Mon Apr 13, 2009 6:35 pm

!userlist doesn't work

Post by cleaner »

Hello,

I have superscript.tcl and this part doesn't work...

It doesn't show user list.

Please help me.

Code: Select all

#userlist

proc pub_do_users {nick uhost hand chan text} {  

     puthelp "PRIVMSG $nick :- \037\002User List\002\037"  

foreach {a b c d} [userlist $chan] {  

     puthelp "PRIVMSG $nick :- [format %-12s%-12s%-12s%-12s $a $b $c $d]" 

     } 

     puthelp "PRIVMSG $nick :- \037\002User List Completed\002\037" 

}

#end of userlist
Post Reply