Advertisement
westor

Twitch Adding Subscribers for VitruxPT v1.0

Feb 3rd, 2015
441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.18 KB | None | 0 0
  1. ON *:TEXT:SPECIALUSER & subscriber:?: {
  2.   if ($nick !== jtv) { return }
  3.   var %f = subs.txt
  4.   if ($2) {
  5.     if ($read(%f,nw,$2)) { return }
  6.     write $qt(%f) $2
  7.   }
  8. }
  9.  
  10. ON !*:TEXT:!*:#: {
  11.   tokenize 32 $strip($1-,burci)
  12.   var %f = subs.txt
  13.   if ($1 == !subs) {
  14.     if (!$isfile(%f)) { .msg $chan ( $+ $nick $+ ): There is NOT any subscriber on my database yet! | return }
  15.     var %t = $lines(%f)
  16.     if (!%t) { .msg $chan ( $+ $nick $+ ): There is NOT any subscriber yet on my database! | return }
  17.     .msg $chan ( $+ $nick $+ ): There are  $+ %t $+  subscriber(s) on my database!
  18.   }
  19.   if ($1 == !checksub) {
  20.     if (!$2) { .msg $chan ( $+ $nick $+ ): Error, Please specify a nickkname! | return }
  21.     if (!$isfile(%f)) { .msg $chan ( $+ $nick $+ ): There is NOT any subscriber on my database yet! | return }
  22.     var %t = $lines(%f)
  23.     if (!%t) { .msg $chan ( $+ $nick $+ ): There is NOT any subscriber yet on my database! | return }
  24.     var %r = $read(%f,nw,$2)
  25.     if (%r) { .msg $chan ( $+ $nick $+ ): The $qt($2) is an twitch channel subscriber! }
  26.     elseif (!%r) { .msg $chan ( $+ $nick $+ ): The $qt($2) is NOT an twitch channel subscriber yet! }
  27.   }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement