Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on $owner:TEXT:!idle*:#:{ set %Channel $chan | set %idle 1 | set %Nick $strip($2)
- spamprotect
- exprotect $1-
- if ( %Nick != $Null ) {
- .whois $2
- }
- }
- RAW 317:*:{
- if ( %idle == 1 ) {
- msg %Channel %Nick has been idling for $duration($3,1) $+ .
- unset %idle
- unset %Channel
- unset %Nick
- haltdef
- }
- }
- On *:TEXT:!regchk*:#:{ set %chan $chan | set %Nick $strip($2) | set %regchk 1
- spamprotect
- exprotect $1-
- if ( %Nick != $Null ) {
- .timerregchk 1 2 msg $chan $2 isn't registered
- .whois $2
- }
- }
- raw 379:*: {
- if ($network == NetKings) && (r isin $3-) && (%regchk == 1) { /msg %chan $2 is currently registered. | haltdef }
- else {
- msg %chan $2 is not registered.
- haltdef }
- }
- raw 307:*: {
- if (%regchk == 1) { timerregchk off | /msg %chan $2 is currently registered. }
- }
- alias nothere {
- set %chan $chan
- set %check.on on
- set %nick $nick
- elseif (!$2) {
- msg %chan Enter valid input dumbass. | halt
- }
- }
- raw 401:*: {
- if (No such isin $3-) && (%check.on == on) {
- msg %chan $hget(whois,chan) No such nick: $+($2,.)
- }
- }
- raw 482:*: {
- if (You must have isin $3-) || (You're not channel isin $3-) {
- msg %chan $hget(whois,chan) Invalid privileges.
- }
- }
- raw 403:*: {
- if (No such isin $3-) {
- msg %chan $hget(whois,chan) No such nick/channel: $+(%nick,.)
- }
- }
- raw 499:*: {
- if (You're not a isin $3-) {
- msg %chan $hget(whois,chan) Invalid privileges.
- }
- unset %chan | unset %check.on | unset %nick
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement