Jump to content

Script Help ( .oa. Chats )


Guest mythicaldeath

Recommended Posts

Guest mythicaldeath

#autotopiclock off

on @*:TOPIC:#: {

if (admin isin $level($address($nick,6))) halt

if (ownerlevel isin $level($address($nick,6))) halt

if ((%rona iswm $chan) && ($nick != $me) && ($nick !isowner $active)) {

timer.topicprot 1 1 sockwrite -tn msn.server. $+ $cid access $!msn.get($cid,fullroom) clear voice $lf access $!msn.get($cid,fullroom) clear host z$lf access $!msn.get($cid,fullroom) delete deny *!*@* $lf access $!msn.get($cid,fullroom) add deny *! $+ $gettok($ial($nick,1),-1,33) 1 $lf kick $!msn.get($cid,fullroom) $nick :Don't touch the topic (1 min ban) $lf topic $!msn.get($cid,fullroom) : $+ %topiclck

}

}

#autotopiclock end

Link to comment
Share on other sites

This is a "complete" general code. If this doesn't ban the way you want, you will need to change the "mode +b $address($nick,6)" line, to what is appropriate to your server. Hopefully this gets you off on the right path.

#autotopiclock on
on @!*:TOPIC:#: {
  if (admin isin $level($address($nick,6)) || ownerlevel isin $level($address($nick,6)) || $nick isowner $chan) halt
  mode +b $address($nick,6)
  kick $chan $nick Don't change the topic
}
#autotopiclock end

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...