on *:Join:#Iparxi: {
if ($readini(Narph.ini,NarphAgree,$nick) !== yes) && (RuneScript !isin $nick) { set %Agreenick $nick | mode #Iparxi +b $address($nick,2) | /cs kick $chan $nick Please agree to the rules of #Narph to be allowed entrance | m $nick %c You must follow the rules of #Narph set by the $+(%i,Ops,%cdef) $+ . The Rules as of %rulesupdate are: | m $nick $+(%i,%NarphRules,%cdef) $+ . %e | m $nick %c You must type %i $+ I Agree $+ %cdef in this private message window to be allowed into #Narph. %e | writeini Narph.ini NarphAgree $nick no }
}
on *:TEXT:*I Agree*:?: {
if ($readini(Narph.ini,NarphAgree,$Nick) !== yes) {
m $Nick %c You have agreed with the rules of #Narph and will now be allowed entrance. Please type /join #Narph or Dobule Click. Enjoy! [-note, if you are not immediately unbanned, give it a second, as it may lag.] Thank your for your patience. %e
writeini Narph.ini NarphAgree $nick yes
mode #Iparxi -b $address($nick,2)
}
elseif ($readini(Narph.ini,NarphAgree,$Nick) == yes) { m $Nick %c You have already agreed with the rules of #Narph. You have access to the Channel. %e | m $nick %c If you feel you have received this Message in Error, try again, type %i $+ I Agree $+ %cdef $+ . %e
mode #Iparxi -b $address($nick,2)
}
}