Advertisement
Guest User

Untitled

a guest
Mar 15th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.55 KB | None | 0 0
  1.     while (%wordCount > 0) {
  2.       var %currentWord = $gettok(%template [ $+ [ $nick ] ],%wordCount,32)
  3.       echo $chan currentWord: %currentWord
  4.       ;echo $chan template: %template [ $+ [ $nick ] ]
  5.  
  6.       echo $chan checking word for urls...
  7.       echo $chan results: $regex(url, %currentWord , %urlpattern)
  8.       if ($regex(url,%currentWord,%urlpattern) >= 1) {
  9.         echo $chan WENT!
  10.         var %template [ $+ [ $nick ] ] $reptok(%template [ $+ [ $nick ] ], %currentWord, %urlColor $+ %currentWord $+ , 0,32)
  11.       }
  12.       dec %wordCount 1
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement