Advertisement
Guest User

Untitled

a guest
Mar 15th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.71 KB | None | 0 0
  1.     var %urlColor 12,0    
  2.  
  3.     var %wordCount $numtok(%template [ $+ [ $nick ] ],32)
  4.     echo $chan Wordcount: %wordCount
  5.  
  6.     while (%wordCount > 0) {
  7.       echo $chan -------
  8.       var %currentWord $gettok(%template [ $+ [ $nick ] ],%wordCount,32)
  9.       echo $chan Current Word: %currentWord ( $+ %wordCount $+ )
  10.       var %match $regex(url,%currentWord,%urlpattern)
  11.  
  12.       if (%match >= 1) {
  13.         var %template [ $+ [ $nick ] ] $puttok(%template [ $+ [ $nick ] ],%urlColor $+ %currentWord $+ ,%wordCount,32)
  14.         echo $chan 4,1Template Change: %template [ $+ [ $nick ] ]
  15.       }
  16.  
  17.       dec %wordCount
  18.       echo $chan -------
  19.     }
  20.     echo $chan Done!!!
  21.     echo $chan .
  22.     echo $chan .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement