Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var %urlColor 12,0
- var %wordCount $numtok(%template [ $+ [ $nick ] ],32)
- echo $chan Wordcount: %wordCount
- while (%wordCount > 0) {
- echo $chan -------
- var %currentWord $gettok(%template [ $+ [ $nick ] ],%wordCount,32)
- echo $chan Current Word: %currentWord ( $+ %wordCount $+ )
- var %match $regex(url,%currentWord,%urlpattern)
- if (%match >= 1) {
- var %template [ $+ [ $nick ] ] $puttok(%template [ $+ [ $nick ] ],%urlColor $+ %currentWord $+ ,%wordCount,32)
- echo $chan 4,1Template Change: %template [ $+ [ $nick ] ]
- }
- dec %wordCount
- echo $chan -------
- }
- echo $chan Done!!!
- echo $chan .
- echo $chan .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement