Page 1 of 1

Chanserv/Nickserv invite messages route to status window

Posted: Thu Oct 19, 2006 10:26 pm
by Hochi
I tried a script that was supposed to block all messages from chanserv/nickserv. But now i want the messages routed to the status window instead of the active channel.

i tried this but it doesn't work :(

n0=ON ^*:NOTICE:*:#: {
n1= if ((NickServ isin $1) || (ChanServ isin $1)) && (invite isin $2) {
n2= echo $colour(notice) -st $+(-,$nick,-) $1- $+( ,[) $+ $chan(#) $+ ]
n3= haltdef
n4= }

Posted: Thu Oct 19, 2006 10:31 pm
by Jobe
I have to say this has little to do with services and absolutly nothing to do with UnrealIRCd that i can see. Sorry.

Posted: Fri Oct 20, 2006 5:46 am
by Ron2K
Quite right. This is a client issue.

Looks like the client in question is mIRC, which I don't use, so I can't really offer much assistance.

Posted: Fri Oct 20, 2006 6:22 am
by Grunt
I think the problem is here:

Code: Select all

echo $colour(notice) -st $+(-,$nick,-) $1- $+( ,[) $+ $chan(#) $+ ] 
The part I think is wrong is this: $+( ,[). For what I know, " " (space) is not a valid parameter. Try $chr(32) instead.

Posted: Fri Oct 20, 2006 4:07 pm
by Stealth
You don't even need the space in the $+(). The reason being, there is already a space between $1- and $+()

$+ alone combines the thing before, and the thing after. $+() just combines all the paramters within the ( and ).