Oper on a network, and constantly have people requesting new vhosts for ban evasion. So, thought I would make a script that would reject their vhost request based on host(if based on nick, which is what I first tried, they soon would just register a new nick). New to mirc scripting, and know this doesn't work, but was thinking the script would look along the lines of:
on *:TEXT:New vHost Requested by *:#: {
.userhost $5
if (HOST isin $2) { .msg hostserv reject $5 }
ELSE { .msg hostserv activate $5}
}
I can tell the main problem is that $2 is looking back at the first on text statement instead of the /userhost, but don't know how else do it. Any help will be appreciated.