Jump to content

Custome nicklists


Simon

Recommended Posts

For my custom nicklist (Which I'm considering scrapping) I Would like to remove my own nickname from the list but have come up against a brickwall. Below is my alais to retrieve the names of people in the channel. The aliases down the bottom are for which icons to place with each nick and Host?owner etc titles.

g3tnicks { 
 roomcount
 if ($chr(35) isin $active) { 
   did -r side.bar 2
   var %x 1 
   who $active
   while (%x <= $nick($active,0)) {
   ;;;;     if ($nick($active,%x) = $me) { return $shorten }
   ;;;;;;;if ($nick($active,%x) = $me) { $remtok($nick($active,%x),$me) }
     did -a side.bar 2 0 + $ic0n($nick($active,%x)) $nick($active,%x) $shorten($nick($1,%y)) $w0rd($nick($active,%x))
     inc %x  
   } 
 } 
}

Any help would be great. Thank you. :)

Edited by Vegeta
Link to comment
Share on other sites

Guest X-Fusion
Everybody talks about decoded nicklists ... but the only one I've seen it is on 6.17 ... anybody tried it on 6.03 without customizing it? Dont think its possible cuz of the lack of UTF-8 support ... Edited by X-Fusion
Link to comment
Share on other sites

if ($nick($active,%x) != $me) { code here }

 

 

eg

g3tnicks { 
roomcount
if ($chr(35) isin $active) { 
did -r side.bar 2
var %x 1 
who $active
while (%x <= $nick($active,0)) {

if ($nick($active,%x) != $me) { 
did -a side.bar 2 0 + $ic0n($nick($active,%x)) $nick($active,%x) $shorten($nick($1,%y)) $w0rd($nick($active,%x))
}
inc %x 
} 
} 
}

 

might be a braket in wrong place as i havnt tested it , but you get what am doing

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...