Skip to content
MSN

nicklist

A TG007 community discussion started by Zantetsuken.

Discussion 15 posts
Page 1 of 1
Open
Topic #2250 · 15 published posts · 1,644 views

been working on a nicklist and was wondering how i would be able to remove my nick from the nicklist.

need to see how you are adding the nicks first

 

but

 

if ($nick != $me) then the code that puts the nick in

Edited Dec 17, 2004 12:28 AM by OZZY_10â„¢

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

but you gotta remember though, removing nicks is one thing, getting the script to remember what the nicknames are is another thing because if your using a decoder aswell, it gives you a heck of a lot more trouble. [ did it the hard way when he designed GuarDDog v. 4, http://guarddog.agapechildproject.org/files/gd4.gif ]

alias listnicks {

var %n 1

while (%n <= $nick($active,0)) {

did -a nicklist 1 0 + $nicklisticon($nick($active,%n)) $msn.decode($replace($nick($active,%n), >,Guest_))

inc %n

}

}

 

gettin the nics that way .

alias listnicks {
var %n 1
while (%n <= $nick($active,0)) {
if ($nick == $me) { inc %n }
else { did -a nicklist 1 0 + $nicklisticon($nick($active,%n)) $msn.decode($replace($nick($active,%n), >,Guest_)) | inc %n }
}
}

 

mmm try this

on me:*:join:#:hop #

nah its still showin up

alias listnicks {

var %n 1

while (%n <= $nick($active,0)) {

if ($nick($active,0) != $me) did -a nicklist 1 0 + $nicklisticon($nick($active,%n)) $msn.decode($replace($nick($active,%n), >,Guest_))

inc %n

}

}

alias listnicks {

var %n 1

while (%n <= $nick($active,0)) {

if ($nick($active,%n) != $me) did -a nicklist 1 0 + $nicklisticon($nick($active,%n)) $msn.decode($replace($nick($active,%n), >,Guest_))

inc %n

}

}

 

 

or to add your nick in another box too

 

alias listnicks {

var %n 1

while (%n <= $nick($active,0)) {

if ($nick($active,%n) == $me) did -a nicklist id here 0 + $nicklisticon($nick($active,%n)) $msn.decode($replace($nick($active,%n), >,Guest_))

if ($nick($active,%n) != $me) did -a nicklist 1 0 + $nicklisticon($nick($active,%n)) $msn.decode($replace($nick($active,%n), >,Guest_))

inc %n

}

}

 

 

id here needs to be the id where you want to show your own nick

 

forgot to mention, both ids must be list boxs and use mdx views for each id

so they can show the icons next to all the nicks

Edited Dec 17, 2004 10:17 AM by OZZY_10â„¢

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

tried em all none of em worked.. but the one ozzy posted did.. thankz

Glad it works

maybe some day i will release my nicklist and emot theme

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

i donno how mine wouldn't have worked because it is virtually the same as ozzy's one, except he had just put in where you want your nick to be.

look at my code again gate , you will see the difference

 

if ($nick($active,%n) != $me) <-- mine

 

 

if ($nick($active,0) != $me) <-- yours

 

 

remember its getting the nicks in a loop thus the 0 has to be the var from the loop

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

lol, sorry, my bad.

Edited Dec 17, 2004 11:47 PM by The Gate Keeper

Hi this is my first time posting.

 

I made a nick list for my script and it works great but so far It can only read nicks in one room. When I join other rooms with my script the nick list won't update

 

This is the code I used so far as "refresh" button as I'm just starting to get the nick list concept.

 

alias nicksinr {

did -r dnicklist 1

var %x 1

while (%x <= $nick($active,0)) {

did -a $dname 1 $msn.decode($nick($chan($active),%x))

inc %x

}

}

 

If anyone has a fix for this could you please let me know. Thank you.

 

there is no problem with that code. It must be your on join events or something because that code will work provided the active window is a channel.

 

try this

 

on *:active:*: /nicksinr

Edited Dec 20, 2004 10:47 PM by The Gate Keeper