Bad Nick Timer Kick

By SaNCaKx on Nov 08, 2016

on *:load: { 
  .echo -aq $input(Author: SaNCaK $+ $crlf $+ $crlf $+ Addon: Bad Nick Timer Kick $chr(40) $+ v5.4 $+ $chr(41) $+ $crlf $+ $crlf $+ Released at: 17/10/2016 $+ $crlf $+ $crlf $+ Contact: sancak@outlook.com.tr $+ $crlf $+ $crlf $+ Thank you for using this Addon,igo,Addon: Bad Nick Timer Kick $chr(40) $+ v5.4 $+ $chr(41))
  .echo -s _____________________________________________________
  .echo -s 0,1 Loading 9,1Bad Nick Timer Kick0,1 Add-On... 
  .echo -s 0,1 You are running mIRC $version on Windows $+ $os
  .echo -s ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
}
on *:unload: { 
  .echo -aq $input(Author: SaNCaK $+ $crlf $+ $crlf $+ Addon: Bad Nick Timer Kick $chr(40) $+ v5.4 $+ $chr(41) $+ $crlf $+ $crlf $+ Released at: 17/10/2016 $+ $crlf $+ $crlf $+ Contact: sancak@outlook.com.tr $+ $crlf $+ $crlf $+ Unloading...,igo,Addon: Bad Nick Timer Kick $chr(40) $+ v5.4 $+ $chr(41))
}
;############################  -«•»SaNCaK ScripT«•»-    ############################

alias badnicken {
  say $$1 2,0your nick is inappropriate. Please change it by typing /nick newnick in 60sec
  .timerck $+ $chan $+ $1 1 60 checknick $chan $1
}
alias -l checknick {
  if ($2 ison $1) {
    kick $1 $2 2,0Please change nick
    mode $1 +b * $+ $2 $+ !*@*
    echo -a Badnick: $2 kicked from $1
  }
}
menu nicklist { 
  -
  Badnick: { badnicken $$1
    set %reportnick $?!="Do you want to report this nick #ChanOps channel?"
    if (%reportnick == $true) { reportnick $1 Badnick } 
    unset %reportnick
  }
}
alias -l reportnick {
  if ($2) {
    set %badnick_whois $1
    if ($3) {
      set %nickreportreason $2 : $3-
    }
    else {
      set %nickreportreason $2
    }
    whois $1
  }
}
raw 319:*: {
  if (%badnick_whois) {
    set %badnickinfo 04,0Report Badnick:12,00 %badnick_whois 04,00Reason: 12,00 %nickreportreason 
    set %badnickinfo2 04,00Channels:12,00 $3- 
  }
}
raw 318:*: {
  if (%badnick_whois) {
    if (*Channels*#* iswm %badnickinfo2) {
      msg #sancak %badnickInfo %badnickInfo2
    }
    if (*Channels*#* !iswm %badnickinfo2) {
      msg #sancak 4[Report]-> Nickname: ~ $+ %badnick_whois $+ ~ Reason: %nickreportreason
    }
    unset %badnick_whois
    unset %badnickinfo
    unset %nickreportreason
  }
}

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.