Advertisement
ExcaliburNUMNUM

Match a Word

Oct 9th, 2021
576
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1. //Match a Word ****************** -WORKS
  2. IFMATCHES(%CHATCLEAN%,"^\<[*]*([A-Za-z0-9_]{2,16})\>.*(?:apple).*$",&word,1);//Matches apple NOT case sensitive.
  3.     LOG("An Apple a day keeps %&word% away.");
  4.     //ECHO(/enter command here);
  5. ENDIF;
  6. //Match a Word ****************** -WORKS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement