So, wanted to make a fun little script to /query someone when they failed a nickserv identify.
on *:TEXT:*Failed IDENTIFY for*:*: {
.query $regsubex($5,(\s+)\!) >I'm sorry Dave, I'm afraid I can't do that...
}
A friend who knows a bit about regex suggested (\s+)\!, but the string that gets returned ends up being the whole nick!user@host, and he can't remember the syntax so that it doesn't match the !.
Any help is appreciated.