All pastes #631077 Raw Edit

Miscellany

public text v1 · immutable
#631077 ·published 2007-07-23 18:15 UTC
rendered paste body
n0=on *:join:#: {
n1=  if (%verified [ $+ [ $chan ] ] != $null) {
n2=    if ($chan == #blasphemy) {
n3=      if ($address($nick,2) == $address($me,2)) { halt }
n4=      if (!$readini(verify.ini,n,#blasphemy-public,$nick) || !$readini(verify.ini,n,#blasphemy,$nick)) { 
n5=        notice $nick Please join #blasphemy-public to be verified in $chan $+ . 
n6=        .timer 1 1 /ban -u30 $chan $nick $address($nick,2)
n7=        .timer 1 2 /kick $chan $nick Please join #blasphemy-public to be verified in $chan $+ .
n8=      }
n9=    }
n10=  }
n11=}
n12=on *:text:!exception*:#: {
n13=  if ($nick !isop $chan) { notice $nick Sorry you have to be (@)Op to use that command. | halt }
n14=  writeini -n verify.ini #blasphemy-public $2 verify
n15=  writeini -n verify.ini #blasphemy $2 verify
n16=  msg $chan  $+ $2 added to the exception list.
n17=}
n18=on *:text:!verify on:#: {
n19=  if ($nick !isop $chan) { notice $nick Sorry you have to be (@)Op to use that command. | halt }
n20=  if (%verified [ $+ [ $chan ] ] == on) { notice $nick The verify system for $chan is already on. | halt }
n21=  set %verified [ $+ [ $chan ] ] on
n22=  msg $chan The verify system for $chan is now on.
n23=}
n24=
n25=on *:text:!verify off:#: {
n26=  if (%verified [ $+ [ $chan ] ] == $null) { notice $nick The verify system for $chan is already off. | halt }
n27=  if ($nick !isop $chan) { notice $nick Sorry you have to be (@)Op to use that command. | halt }
n28=  unset %verified [ $+ [ $chan ] ] 
n29=  msg $chan The verify system for $chan is now off.
n30=}
n31=on *:text:!verify*:#: {
n32=  if ($nick isop $chan || $nick ishop $chan || $nick == aturner44) {
n33=    if ($chan == #blasphemy-public || $chan == #blasphemy) {
n34=      writeini -n verify.ini #blasphemy-public $2 verify
n35=      writeini -n verify.ini #blasphemy $2 verify
n36=      msg $chan  $+ $2 added to the verified list.
n37=    }
n38=  }
n39=}
n40=on *:text:!verified list:#: {
n41=  if ($nick !isop $chan) { notice $nick Sorry you have to be (@)Op to use that command. | halt }
n42=  play $nick Verify.ini
n43=  close -m $nick
n44=}
n45=on *:text:!deverify*:#: {
n46=  if ($nick isop $chan || $nick ishop $chan || $nick == aturner44) {
n47=    if ($chan == #blasphemy-public || $chan == #blasphemy) {
n48=      .remini verify.ini #blasphemy $2 verify
n49=      .remini verify.ini #blasphemy-public $2 verify
n50=      .msg $chan  $+ $2 deleted the verified list.
n51=    }
n52=  }
n53=}