RS PCW

By SexScript on Jul 23, 2007

A script that I wrote that works with the new Pest-Control update.

If you don't play RuneScape then a Pest-Control script basically sets a world for a channel. This world people then go to because lots of other people are in this world so they'll kill things more easier. If you don't understand the Pest-Control bit it doesn't really matter.

!Setmpc [WORLD] -- Main pc world
!Set4pc [WORLD] -- 40+ pc world
!Set7pc [WORLD] -- 70+ pc world
!Set1pc [WORLD] -- 100+ pc world
[@.!]Pcw -- Displays all Pcws

;##############
;#####RSPC#####
;####By SS#####
;##############
;-)
on *:TEXT:!Setmpc*:#: {
  if ($2 == $null) { notice $nick Please specify a World to set | halt }
  elseif ($nick isop $chan) || ($nick ishop $chan) {
   set %mpc [ $+ [ $chan ] ] $2
   msg $chan The Main PC World has changed!
  }
}
on *:TEXT:!Set4pc*:#: {
  if ($2 == $null) { notice $nick Please specify a World to set | halt }
  elseif ($nick isop $chan) || ($nick ishop $chan) {
   set %4pc [ $+ [ $chan ] ] $2
   msg $chan The 40+ PC World has changed!
  }
}
on *:TEXT:!Set7pc*:#: {
  if ($2 == $null) { notice $nick Please specify a World to set | halt }
  elseif ($nick isop $chan) || ($nick ishop $chan) {
   set %7pc [ $+ [ $chan ] ] $2
   msg $chan The Main PC World has changed!
  }
}
on *:TEXT:!Set1pc*:#: {
  if ($2 == $null) { notice $nick Please specify a World to set | halt }
  elseif ($nick isop $chan) || ($nick ishop $chan) {
   set %1pc [ $+ [ $chan ] ] $2
   msg $chan The Main PC World has changed!
  }
}
on $*:TEXT:/^[!@.](pcw|world)*/Si:#: {
  if ($left(1,1) == @) msg $chan /\ Main World: %mpc [ $+ [ $chan ] ] /\ 40+ World: %4pc [ $+ [ $chan ] ] /\ 70+ World: %7pc [ $+ [ $chan ] ] /\ 100+ World: %1pc [ $+ [ $chan ] ] /\
  if ($left(1,1) == !) || ($left(1,1) == .) notice $nick /\ Main World: %mpc [ $+ [ $chan ] ] /\ 40+ World: %4pc [ $+ [ $chan ] ] /\ 70+ World: %7pc [ $+ [ $chan ] ] /\ 100+ World: %1pc [ $+ [ $chan ] ] /\
}

Comments

Sign in to comment.
Blknbluyoshi   -  Aug 13, 2007

on :TEXT:!Set7pc:#: {
if ($2 == $null) { notice $nick Please specify a World to set | halt }
elseif ($nick isop $chan) || ($nick ishop $chan) {
set %7pc [ $+ [ $chan ] ] $2
msg $chan The 70+ PC World has changed!
}
}
on :TEXT:!Set1pc:#: {
if ($2 == $null) { notice $nick Please specify a World to set | halt }
elseif ($nick isop $chan) || ($nick ishop $chan) {
set %1pc [ $+ [ $chan ] ] $2
msg $chan The 100+ PC World has changed!
}
}

easy fix :D

 Respond  
Olliegod   -  Jul 23, 2007

You have the same message for the 7pcw, 1pcw, and mpcw.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.