my script has this system:
Whois user
IRCname: somename
Address: ~user@host [ countryl ]
Channels: #chan1 +#chan2 @#chan3 %#chan4
Server: someserver
Idle: day hrs mins secs Sign on: time - date On-line: time
End of Whois
BUT on some script i saw something nicer like this:
Whois user
IRCname: somename
Address: ~user@host [ countryl ]
Channels:
o: #chan1 #chan2 #chan4
v: #somechan #anotherchan
h: #chn1
Server: someserver
Idle: day hrs mins secs Sign on: time - date On-line: time
End of Whois
etc... (think every1 got the point)
channel sorting !
how to do it?
my raws:
;------------------------------------------------
; /whois
;------------------------------------------------
;
raw 401:*: { if ($query($2)) { .infoecho $+ $2 is not connected. } | .set %whois.Nick 0 | halt }
raw 307:*: echo -s $theme(raw307,$5-) | halt
raw 308:*: echo -s $theme(raw308,Yes) | halt
raw 309:*: echo -s $theme(raw309,Yes) | halt
raw 310:*: echo -s $theme(raw310,Yes) | halt
raw 301:*: if (%whois == On) { echo -s $theme(raw301,$2,$3-) | unset %whois | halt } | else { infoecho $+ $2 is Away - $3- } | halt
raw 311:*: { set %whois On | linesep -s | set -u %country $ccode($4) | echo -s $theme(Wsl,$2) | echo -s $theme(raw311name,$2,$6-) | echo -s $theme(raw311add,$2,$3,$4,%country) | halt }
raw 312:*: { if (%whowas.requested == Yes) { echo -s $theme(raw312ww,$3,$4-) | unset %whowas.requested | halt } | else { echo -s $theme(raw312,$3,$4,%country) } | unset %whois.Nick | halt }
raw 313:*: echo -s $theme(raw313,Yes) | halt
raw 317:*: var %tempe = $time($4),rs,r,ins,in,ecs,ec | var %onl = $time($calc($ctime - $4)) | .echo -s $theme(raw317,%tempe,$date($4),%onl,$duration($3)) | halt
raw 319:*: echo -s $theme(raw319,$3-) | halt
if that helps ....
pls help me
regards, merry x-mas, eat much, be lazy, get fat layers on your body & enjoy the party !