I am needing help making this code work.
I want it to dehost users if they are hosted, if they are not in the aop list.
Say Saiyen gets hosted by King, but Saiyen isn't in the aOP list, so my script dehosts Saiyen.
This is the code I have now
on *:OP:#:{
if ($nick != $me) && ($me isop $chan) && ($readini(aOP.ini,aOP,$address($opnick,1)) == $null) {
mode $chan -o $opnick
access $chan clear owner
access $chan add owner $address($me,1)
}
}