All pastes #281249 Raw Edit

Unnamed

public text v1 · immutable
#281249 ·published 2006-12-16 17:09 UTC
rendered paste body
on $*:text:/^[!@.]set pcw*/Si:#: {
  if ($chan != #thepc.staff) { notice $nick You need to be on the staff channel to set the world! | halt } else {
    if ($nick isop #thepc.staff) || ($nick ishop #thepc.staff) {
      set %pcc $ctime
      set %pc $3-
      set %pcwnick $nick
      msg #thepc 1[4PC-World Update1] 12Type 4"!world" 1(12 $+ $nick $+ 1)
      /notice Bladex newpcw $3 %pcwnick %pcc
} } }

Could you change that to change instead of set pcw - it wont work for me whenever I do that

on *:TEXT:!pcon:#thepc,#thepc.staff: {
  if ($nick isop $chan && %pest == off) {
    set %pest on
    amsg $nick has enabled PEST.
  }
}

on *:TEXT:!pcoff:#thepc,#thepc.staff: {
  if ($nick isop $chan && %pest == on) {
    set %pest off
    amsg $nick has disabled PEST.
  }
}

Could you combine these with the top one so I could turn it off/on