Advertisement
westor

Log on a file on specific word v1.3 for RoBiN

Nov 8th, 2020 (edited)
3,089
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.58 KB | None | 0 0
  1. alias -l words { return shit porn }
  2. alias -l words_file { return words.txt }
  3. alias -l words_chans { return # }
  4.  
  5. ON *:TEXT:*:$($words_chans): { check_words $nick $chan $strip($1-) }
  6. ON *:ACTION:*:$($words_chans): { check_words $nick $chan $strip($1-) }
  7.  
  8. alias -l check_words {
  9.   if (!$1) || (!$2) || (!$3) { return }
  10.  
  11.   var %t = $numtok($3-,32)
  12.  
  13.   var %i = 1
  14.   while (%i <= %t) {
  15.     var %w = $gettok($3-,%i,32)
  16.  
  17.     if (%w) && ($istok($words,%w,32)) { write $qt($words_file) ( $+ $timestamp $+ ) $1 said on $2 channel the word %w with sentence: $3- }
  18.  
  19.     inc %i
  20.   }
  21. }
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement