Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ON *:TEXT:SPECIALUSER & subscriber:?: {
- if ($nick !== jtv) { return }
- var %f = subs.txt
- if ($2) {
- if ($read(%f,nw,$2)) { return }
- write $qt(%f) $2
- }
- }
- ON !*:TEXT:!*:#: {
- tokenize 32 $strip($1-,burci)
- var %f = subs.txt
- if ($1 == !subs) {
- if (!$isfile(%f)) { .msg $chan ( $+ $nick $+ ): There is NOT any subscriber on my database yet! | return }
- var %t = $lines(%f)
- if (!%t) { .msg $chan ( $+ $nick $+ ): There is NOT any subscriber yet on my database! | return }
- .msg $chan ( $+ $nick $+ ): There are $+ %t $+ subscriber(s) on my database!
- }
- if ($1 == !checksub) {
- if (!$2) { .msg $chan ( $+ $nick $+ ): Error, Please specify a nickkname! | return }
- if (!$isfile(%f)) { .msg $chan ( $+ $nick $+ ): There is NOT any subscriber on my database yet! | return }
- var %t = $lines(%f)
- if (!%t) { .msg $chan ( $+ $nick $+ ): There is NOT any subscriber yet on my database! | return }
- var %r = $read(%f,nw,$2)
- if (%r) { .msg $chan ( $+ $nick $+ ): The $qt($2) is an twitch channel subscriber! }
- elseif (!%r) { .msg $chan ( $+ $nick $+ ): The $qt($2) is NOT an twitch channel subscriber yet! }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement