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=}
Chanserv/Nickserv invite messages route to status window
Moderator: Supporters
Chanserv/Nickserv invite messages route to status window
Last edited by Hochi on Thu Oct 19, 2006 10:32 pm, edited 1 time in total.
I think the problem is here: The part I think is wrong is this: $+( ,[). For what I know, " " (space) is not a valid parameter. Try $chr(32) instead.
Code: Select all
echo $colour(notice) -st $+(-,$nick,-) $1- $+( ,[) $+ $chan(#) $+ ]
Computers are machines that cause trouble you wouldn't normally have if you wouldn't have a computer.