Chanserv/Nickserv invite messages route to status window

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

Moderator: Supporters

Post Reply
Hochi

Chanserv/Nickserv invite messages route to status window

Post by Hochi » Thu Oct 19, 2006 10:26 pm

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 :(

[script]
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= }
n5=}
Last edited by Hochi on Thu Oct 19, 2006 10:32 pm, edited 1 time in total.

Jobe1986
Official supporter
Posts: 1179
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe1986 » Thu Oct 19, 2006 10:31 pm

I have to say this has little to do with services and absolutly nothing to do with UnrealIRCd that i can see. Sorry.

Ron2K

Post by Ron2K » Fri Oct 20, 2006 5:46 am

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.

Grunt
Quality Assurance Team
Posts: 159
Joined: Mon Jan 09, 2006 7:31 pm
Contact:

Post by Grunt » Fri Oct 20, 2006 6:22 am

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.

Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth » Fri Oct 20, 2006 4:07 pm

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

Post Reply