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 ($read(%f,nw,$2)) { return }
- write $qt(%f) $2
- set %last_sub $2
- }
- ON !*:TEXT:!*:#: {
- tokenize 32 $strip($1-,burci)
- var %f = subs.txt
- if ($nick == VitruxPT) {
- if ($1 == !subupdate) {
- .msg $chan ( $+ $nick $+ ): Updating now the Subscriber database...
- raw TWITCHCLIENT 2
- }
- 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 nickname! | 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! }
- }
- if ($1 == !lastsub) {
- if (!%last_sub) { .msg $chan ( $+ $nick $+ ): There is NOT any last subscriber on my database! }
- elseif (%last_sub) { .msg $chan ( $+ $nick $+ ): The last subscriber is %last_sub nickname! }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement