Skip to content
General IRCd

Custome nicklists

A TG007 community discussion started by Simon.

Discussion 7 posts
Page 1 of 1
Open
Topic #6906 · 7 published posts · 1,896 views

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 Jun 24, 2006 11:37 PM by Vegeta

Get the Tech outta here!

http://www.tg007.net/forum/index.php?showtopic=2250&hl=

 

 

might help you

Thank you :)

Get the Tech outta here!

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 Jun 25, 2006 12:30 AM by X-Fusion

I have no need for a decoded nicklists as I have not used MSN chat in close to 3-4 years.

Get the Tech outta here!

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

My code does NOT have bugs. It just develops random features.

Thanks guys - it works great :)

Get the Tech outta here!