mIRC Home    About    Download    Register    News    Help

Print Thread
#127140 09/08/05 06:37 PM
Joined: May 2005
Posts: 449
Fjord artisan
OP Offline
Fjord artisan
Joined: May 2005
Posts: 449
Is there a way to detect if a query is in all caps and close it and give a message if so? Thanks.

#127141 09/08/05 06:49 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
on ^*:open:?:*: if ($isupper($1-)) { .msg $nick TOO MANY CAPS | halt }


Gone.
#127142 09/08/05 06:51 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Code:
on $^*:open:?:/^[A-Z]+$/:{ 
  msg $nick Change your nick, I don't like all uppercase. 
  haltdef 
}


New username: hixxy

Link Copied to Clipboard