I have done an extentsive search on tech, and come up with nothing close to what I need and can't seem to get this edited right I would apriciate some help, would really like to change this without changing the menu channel that goes along with it
#antiowner off
on *:OWNER:#:{
if ($me isowner #) {
if ($opnick == $me ) || ($nick == $me) halt {
mode # -q $opnick
access # clear OWNER
prop # OWNERKEY $msn.pass
access # add OWNER *! $+ $$ial($me $+ *,1).addr
}
}
}
#antiowner end
#antihost off
on *:OP:#:{
if ($me isop #) {
if ($opnick == $me ) || ($nick == $me) halt {
mode # -o $opnick
access # clear HOST
if ($me isop #) && ($me !isowner #) { access # add HOST *! $+ $$ial($me $+ *,1).addr }
}
}
}
#antihost end
#deowner off
on *:DEOWNER:#: {
if ($opnick == $me) && ($nick != $me) {
var %p $msn.roompass(#)
mode $me +h %p
access # clear OWNER
kick # $nick Don't
prop # OWNERKEY $msn.pass
access # add OWNER *! $+ $$ial($me $+ *,1).addr
.auser shitlist *! $+ $$ial($nick $+ *,1).addr $msn.decode($nick) De-Owner
}
}
#deowner end
#dehost off
on *:DEOP:#:{
if ($opnick == $me) && ($nick != $me) {
var %p $msn.roompass(#)
mode $me +h %p
access # clear HOST
kick # $nick $read(text\reason.txt)
access # add HOST *! $+ $$ial($me $+ *,1).addr
}
}
#dehost end
#revenge off
on *:KICK:*: {
if ($knick == $me) {
if (!$msn.ini(kickrj)) {
var %p $msn.roompass($msn.get($cid,fullroom))
sockwrite -tn msn.server. $+ $cid JOIN $msn.get($cid,fullroom) %p
}
sockwrite -tn msn.server. $+ $cid KICK $msn.get($cid,fullroom) $nick :Revenge Kick
sockwrite -tn msn.server. $+ $cid PROP $msn.get($cid,fullroom) OWNERKEY $msn.pass
sockwrite -tn msn.server. $+ $cid ACCESS $msn.get($cid,fullroom) add OWNER *! $+ $$ial($me $+ *,1).addr
}
}
#revenge end
#guestkicker off
on *:JOIN:* {
if (> isin $nick) { kick # $nick | access # add DENY $nick }
ick }
}
#guestkicker end
looked all over in rumbaar, and can't locate anything like I need this
tryed to edit this myself, but what I'm needing is this re writen to deop the oped host or owner not bann and not change the host, and owner pass's who's not on my admin list, but as is it will not let my listed admins 'owner's or host' using the room passes, right now only my script will host them with the admin commands @owner and @host
it's the one on the hybrid script status it's under protections de-owner anti-owner, de-host anti-host
the one below is the same as above sept edited some with the help from people in Rumbaars place, close to working but just not quite there yet
#antiowner on
on *:OWNER:#:{
if ($me isowner #) {
if ($opnick == $me ) || ($nick == $me) halt {
mode # -q $opnick
access # add OWNER *! $+ $$ial($me $+ *,1).addr
}
}
}
#antiowner end
#antihost on
on *:OP:#:{
if ($me isop #) {
if ($opnick == $me ) || ($nick == $me) halt {
mode # -o $opnick
if ($me isop #) && ($me !isowner #) { access # add HOST *! $+ $$ial($me $+ *,1).addr }
}
}
}
#antihost end
#deowner on
on *:DEOWNER:#: {
if ($opnick == $me) && ($nick != $me) {
var %p $msn.roompass(#)
mode $me +h %p
kick # $nick Don't
access # add OWNER *! $+ $$ial($me $+ *,1).addr
}
}
#deowner end
#dehost on
on *:DEOP:#:{
if ($opnick == $me) && ($nick != $me) {
var %p $msn.roompass(#)
mode $me +h %p
kick # $nick $read(text\reason.txt)
access # add HOST *! $+ $$ial($me $+ *,1).addr
}
}
#dehost end
#revenge off
on *:KICK:*: {
if ($knick == $me) {
if (!$msn.ini(kickrj)) {
var %p $msn.roompass($msn.get($cid,fullroom))
sockwrite -tn msn.server. $+ $cid JOIN $msn.get($cid,fullroom) %p
}
sockwrite -tn msn.server. $+ $cid KICK $msn.get($cid,fullroom) $nick :Revenge Kick
sockwrite -tn msn.server. $+ $cid ACCESS $msn.get($cid,fullroom) add OWNER *! $+ $$ial($me $+ *,1).addr
}
}
#revenge end
#guestkicker off
on *:JOIN:* {
if (> isin $nick) { kick # $nick If you want to be a guest go to a hotel :@ | access # add DENY $nick }
}
#guestkicker end
when I did try some of the help offered there, and it disables this code below which works perfectly
raw 822:*:{
if (($nick isowner $chan(1)) && ($me isowner $chan(1))) || (($nick isop $chan(1)) && ($me isop $chan(1))) {
.auser $iif($nick isowner $chan(1),qaway,oaway) $nick
mode $chan(1) -o $nick
}
}
raw 821:*: {
if ($level($nick) == qaway) || ($level($nick) == oaway) {
mode $chan(1) $iif($level($nick) == qaway,+q,+o) $nick
.ruser $level($nick) $nick
}
oh and what I forgot to say was the admins are not listed on the access list, so they don't come in or onjoine brown or gold, only the other bots are listed on the access list, another idea I thought of was, would there be away to put a timer on this option
like an admin comes in and is oped by my bot then trys to host or owner a none admin say like a timer would make the user password off limits for siad amount of time, say ten minute's