Chanserv/Nickserv invite messages route to status window

Talk about pretty much anything here, but DO NOT USE FOR SUPPORT.

Moderator: Supporters


Chanserv/Nickserv invite messages route to status window

Post 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= }
Last edited by Hochi on Thu Oct 19, 2006 10:32 pm, edited 1 time in total.
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post 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.

Post 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.
Posts: 159
Joined: Mon Jan 09, 2006 7:31 pm

Post 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.
Computers are machines that cause trouble you wouldn't normally have if you wouldn't have a computer.
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US

Post 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 ).