Jump to content

Archived

This topic is now archived and is closed to further replies.

coders-irc_Bot

Anti idle pour salon

Recommended Posts

  • Administrators
alias kbidle {
  ban -u300 $$2 $address($$1,2) 
  kick $$2 $$1 Ban 5mins No idle please.
}
on *:join:%salonai:{
timer $+ $nick 1 600 kbidle $nick $chan
}
on *:text:*:%salonai:{
  if (($nick !isop $chan) && ($nick !isvoice $chan)) {
    .timer $+ $nick off
    .timer $+ $nick 1 600 kbidle $nick $chan
  }
}
on *:op:%salonai:{
  .timer $+ $opnick off
}
on *:deop:%salonai:{
  if ($opnick !isvoice $chan) {
    .timer $+ $nick 1 600 kbidle $opnick $chan
  }
}
on *:devoice:%salonai:{
  if ($vnick !isop $chan) {
    .timer $+ $nick 1 600 kbidle $vnick $chan
  }
}
on *:voice:%salonai:{
  .timer $+ $vnick off
}

 

Link to comment
Share on other sites



×
×
  • Create New...