been working on a nicklist and was wondering how i would be able to remove my nick from the nicklist.
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
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,%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
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.
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.
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.
Sign in to reply or start a new topic where your account has permission.