All pastes #587442 Raw Edit

Someone

public text v1 · immutable
#587442 ·published 2007-06-24 16:12 UTC
rendered paste body
on *:TEXT:!ucount*:#:{
  notice $nick 10There 2are 10currently14 $nick($chan,0) 10users 2in10 $chan $+ 4. 
}




on *:TEXT:!setpcw*:#:{
  if (%pctimer == off) || ($nick isreg $chan) || ($2 !isnum 2-144) { Halt }
  set %nick $nick
  set %chan $chan
  /timers off
  set %pcw $2
  msg $chan 4»»10[14World changed to:2 %Pcw 10]4«« 
  /timer 0 %timerspeed /msg %chan 14The 2current 14Pcw 21is 4»10[14World6:2 %Pcw 10]4« 4»10[14Set by:2 %nick 14]4« 
}

alias pc {
  If ($1 == on) { set %pctimer on |  echo -a Turned PC Timer on }
  If ($1 == off) { set %pctimer off | /timers off | echo -a Turned PC timer off }
}


on *:TEXT:!timer*:#:{
  if ($nick !isreg $chan) && ($2 == off) {
    set %pctimer off
    /timers off
    msg $chan 4»10[14Turned 14off 2Timer.10]4« 
  }
  if ($nick !isreg $chan) && ($2 == on) {
    set %pctimer on
    msg $chan 4»10[14Turned 14on 2Timer.10]4« 
  }
  if ($2 isnum 5-30) && ($nick !isreg $chan) {
    set %timerspeed $2
    msg $chan 4The 2Pcw 4timer 2speed 4was 2changed 4to:2 $2 4seconds 2before 4displaying 2each 4message.
  }
}



on *:TEXT:!mute*:#:{
  if ($nick isop $chan ) || ($nick ishop $chan) && ($2 !isop $chan) || ($nick isvoice $chan) && ($2 !ishop $chan) && ($2 !isop $chan) {
    if ($2 !ison $chan) { notice $nick Sorry but the user you specified is not on the channel. | Halt }
    if ($3 == $null) { notice $nick You must specify the amount of minutes. Useage: !mute nickname numberofminutes | Halt }
    mode $chan +b ~q: $+ $address($2,2)
    msg $chan Muted $2 $+ ( $+ $address($2,2) $+ ) for $3 minutes. Noobs muted: %t
    /timer $+ %t 1 $calc($3 * 60) /mode $chan -b ~q: $+ $address($2,2) 
    inc %t 1
  }
}





on *:TEXT:!unmute*:#:{
  if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) {
    if ($2 !ison $chan) { notice $nick Sorry but the user you specified is not on the channel. | Halt }
    mode $chan -b ~q: $+ $address($2,2)
  }
}