on *:join:#: {
if (%verified [ $+ [ $chan ] ] != $null) {
if ($chan == #blasphemy) {
if ($address($nick,2) == $address($me,2)) { halt }
if (!$readini(verify.ini,n,#blasphemy-public,$nick) || !$readini(verify.ini,n,#blasphemy,$nick)) {
notice $nick Please join #blasphemy-public to be verified in $chan $+ .
.timer 1 1 /ban -u30 $chan $nick $address($nick,2)
.timer 1 2 /kick $chan $nick Please join #blasphemy-public to be verified in $chan $+ .
}
}
}
}
on *:text:!exception*:#: {
if ($nick !isop $chan) { notice $nick Sorry you have to be (@)Op to use that command. | halt }
writeini -n verify.ini #blasphemy-public $2 verify
writeini -n verify.ini #blasphemy $2 verify
msg $chan $+ $2 added to the exception list.
}
on *:text:!verify on:#: {
if ($nick !isop $chan) { notice $nick Sorry you have to be (@)Op to use that command. | halt }
if (%verified [ $+ [ $chan ] ] == on) { notice $nick The verify system for $chan is already on. | halt }
set %verified [ $+ [ $chan ] ] on
msg $chan The verify system for $chan is now on.
}
on *:text:!verify off:#: {
if (%verified [ $+ [ $chan ] ] == $null) { notice $nick The verify system for $chan is already off. | halt }
if ($nick !isop $chan) { notice $nick Sorry you have to be (@)Op to use that command. | halt }
unset %verified [ $+ [ $chan ] ]
msg $chan The verify system for $chan is now off.
}
on *:text:!verify*:#: {
if ($nick isop $chan || $nick ishop $chan || $nick == aturner44) {
if ($chan == #blasphemy-public || $chan == #blasphemy) {
writeini -n verify.ini #blasphemy-public $2 verify
writeini -n verify.ini #blasphemy $2 verify
msg $chan $+ $2 added to the verified list.
}
}
}
on *:text:!verified list:#: {
if ($nick !isop $chan) { notice $nick Sorry you have to be (@)Op to use that command. | halt }
play $nick Verify.ini
close -m $nick
}
on *:text:!deverify*:#: {
if ($nick isop $chan || $nick ishop $chan || $nick == aturner44) {
if ($chan == #blasphemy-public || $chan == #blasphemy) {
.remini verify.ini #blasphemy $2 verify
.remini verify.ini #blasphemy-public $2 verify
.msg $chan $+ $2 deleted the verified list.
}
}
}