Hi,
i'll apprecite for the help, i am trying to get the bot's known users informations from the userlist and wanted to write to the file, and i wanted to sort it with "person Handle"
bind pub m .reveiw chan_reveiw
proc chan_reveiw {nick uhost hand channel args} {
foreach u [userlist -b+o] {
set ss [getuser $u LASTON]
if {$ss == 0} {set ss -}
set e [getuser $u XTRA EMAIL]
if {$e == ""} {set e -}
set ssss [getuser $u XTRA HANDLE]
putserv "NOTICE $nick : Handle: $ssss"
putserv "NOTICE $nick : Laston:$ss"
putserv "NOTICE $nick : Email:$e"
}
}
i don't know how to sort and then write to the file
output like
Handle: xyz
Laston: Nov. 10
Email: email@email.com
then space
and then next...
thanks