that's because $nick().pnick returns the nickname with the mode, so for an user without any mode, it returns the first letter of the nickname, which you add in the front of the nickname. You can use $remove($nick,$nick().pnick) to get the mode only, for example.

_________________________
Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net

Hmm, both codes doesnt really solve the problem, Wims: do I need to put something between () I get an error: * Invalid parameters: $nick. Loki12583: The code you mentioned shows all nicks just normal but doesnt show the voiced or ops in front of the nick, the positieve is that the nickname doesn't have the double letter anymore (: *edited* I don't have any other on echo scripts running. Thank you.

is actually almost right, you don't need any fancy custom aliases, you just need to take advantage of switches with $nick()

you should use:

$nick(#,$nick,a,r).pnick

which uses include/exclude lists, it basically states include all nicknames from <#channel> excluding regulars. The return from a regular results in an empty string. You're not needing to $remove() anything either. You also have a $+ inside of a $+() which could've just been another parameter. I changed that in the modified version below.

Hmm, one 'little problem' I noticed is that my switchbar colors are not showing correctly anymore, on a mode or event it supposed to be colored 'blue' and by text on a channel it supposed to be colored 'red'. Now there is no difference anymore, no matter what happens on a channel it will only get 'blue' colored, even when someone speaks on a channel, any suggestions? Not that it is soooo improtant but if there is a trick for it I will be very glad. Thank you.

When using /echo to emulate spoken messages, you need to use the '-m' switch to indicate that the switchbar color should change accordingly. Don't neglect the other half-dozen switches you'll also want to use, to enable timestamps indentation highlight flashing beeping... etc settings that normally apply to message events.

See: /help /echo

_________________________At least I won lunch.Good philosophy, see good in bad, I like!