mIRC Homepage
Posted By: bwr30060 detecting all caps - 09/08/05 06:37 PM
Is there a way to detect if a query is in all caps and close it and give a message if so? Thanks.
Posted By: FiberOPtics Re: detecting all caps - 09/08/05 06:49 PM
on ^*:open:?:*: if ($isupper($1-)) { .msg $nick TOO MANY CAPS | halt }
Posted By: tidy_trax Re: detecting all caps - 09/08/05 06:51 PM
Code:
on $^*:open:?:/^[A-Z]+$/:{ 
  msg $nick Change your nick, I don't like all uppercase. 
  haltdef 
}
© mIRC Discussion Forums