All pastes #534811 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-06-03 21:57 UTC
rendered paste body
 after you put the cmb script do file-new then post this there


on $*:TEXT:/[!@.](Pm) off*/Si:#:{ 
  if ($readini(PM.ini,$chan,Status) == OFF) { 
    notice $nick You cant turn something off that is not on. 
    halt 
  } 
  if ($nick isop $chan || $nick ishop $chan || $address($nick,2) == $address($me,2)) { 
    remini PM.ini $chan 
    writeini PM.ini $chan Status OFF 
    msg $chan The PM services have been halted by $nick 
    halt 
  } 
  else { 
    notice $nick You must be Halfop Plus to use this command. 
  } 
} 
ON $*:TEXT:/[!@.](PM) On/Si:#:{ 
  if (($nick isop $chan || $nick ishop $chan || $nick isvoice $chan || $address($nick,2) == $address($me,2)) && ($readini(PM.ini,$chan,Status) == OFF)) { 
    remini PM.ini $chan 
    msg $chan The PM services have been continued by $nick 
    halt 
  } 
  if ($readini(PM.ini,$chan,Status) != OFF) { 
    notice $nick You cant turn ON whats not off. 
    halt 
  } 
  else { 
    notice $nick You must be Halfop Plus to use this command. 
  } 
} 
on *:TEXT:!setpm *:#:{ 
  if ($nick isop $chan) || ($nick ishop $chan) { 
    set %pmnick $2- 
    msg $chan 3Pm user has been updated 
  } 
} 
on *:TEXT:!checkpm:#Pest-unit: {
  if ($nick isop #Pest-unit) || ($nick ishop #pest-unit) {
    notice $nick 3Pm users Avialable7 %pmnick
  }
}
on *:JOIN:#Pest-unit: {
  if ($nick isop #pest-unit) || ($nick ishop #pest-unit) || ($nick == $me) { Halt }
  else {
    msg $nick 3Pm7 %pmnick 3in Game for Autovice.
  }
}