Guest mythicaldeath Posted November 30, 2007 Report Share Posted November 30, 2007 I tried to get the old msn script topic locks to work in oa but they wont, is it possible to make one that works? Link to comment Share on other sites More sharing options...
Guest mythicaldeath Posted November 30, 2007 Report Share Posted November 30, 2007 #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 More sharing options...
Guest X-Fusion Posted November 30, 2007 Report Share Posted November 30, 2007 Your using msn.server sockwrites, which oa probably doesn't have. Link to comment Share on other sites More sharing options...
Guest mythicaldeath Posted December 1, 2007 Report Share Posted December 1, 2007 oasiz connection provided by oasiz chat, I got it off the forum there, anyone know how to set up a topic lock for me? lol. Link to comment Share on other sites More sharing options...
The Gate Keeper Posted December 1, 2007 Report Share Posted December 1, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now