All pastes #943999 Raw Edit

PC

public text v1 · immutable
·published 2008-03-15 19:33 UTC
rendered paste body
; It's showing it like:
; Current PC World: 100 Intermediate
; Boat Type: Intermediate
; This world was set by: Alec
; -------I Want it to be like ------
; Current PC World: 100
; Boat type: Intermediate
; This world was set by: Alec
on *:TEXT:!setpcw*:*:{
  if ( $nick isvoice # ) notice $nick You cannot change the world!
  if ( $nick isreg # )  notice $nick You cannot change the world!
  if ( $nick ishop # ) { set %pctime. [ $+ [ $chan ] ] $ctime
    set %pcboat. $3-
    set %pcnick. [ $+ [ $chan ] ] $nick
    set %pcworld. [ $+ [ $chan ] ] $2-
    msg #pc 10[2World10] 10The PC World has been changed. Join #pcpc.
    msg #pcpc 10[2World10] 10The PC World has been changed. Please use the !pcw command to see it.
    msg #pc.staff 10[2World10] 10The PC World has been changed by: %pcnick. [ $+ [ $chan ] ] to %pcworld. [ $+ [ $chan ] ]
  }
  if ( $nick isop # ) { set %pctime. [ $+ [ $chan ] ] $ctime
    set %pcboat. $3
    set %pcnick. [ $+ [ $chan ] ] $nick
    set %pcworld. [ $+ [ $chan ] ] $2-
    msg #pc 10[2World10] 10The PC World has been changed. Join #pcpc.
    msg #pcpc 10[2World10] 10The PC World has been changed. Please use the !pcw command to see it.
    msg #pc.staff 10[2World10] 10The PC World has been changed by: %pcnick. [ $+ [ $chan ] ] to %pcworld. [ $+ [ $chan ] ]
  }
}
on *:TEXT:!pcw:#:{
  if ($nick isreg $chan) {
    notice $nick 10[2World10] Only Voiced Members are able to use the !pcw command.
    notice $nick 10[2World10] Please request to be voiced by a Moderator.
  }
  else {
    if ($nick isvoice $chan) || ($nick ishop $chan) || ($nick isop $chan) {   
      notice $nick 10[2World10] 10Current PC World: %pcworld. [ $+ [ $chan ] ]   
      notice $nick 10[2World10] 10Boat Type: %pcboat. [ $+ [ $chan ] ]    
      notice $nick 10[2World10] 10This world was set by: %pcnick. [ $+ [ $chan ] ]
    }
  }
}