All pastes #172063 Raw Edit

[-Manic-} WORKS!

public text v1 · immutable
·published 2006-09-15 20:12 UTC
rendered paste body
;------------------- Menu ---------------------------------

on *:text:!Menu:#:{
  if (!%menu) {
    msg $Nick ~*~ My Command list ~*~
    msg $Nick 4 "!rules" - RS-E Rules.
    msg $Nick 4 "!opcomms" - Half-op + commands.
    msg $Nick 4 MORE TO COME :)
    .Notice $Nick My Commands have been Pmed to you, Thankyou.
    msg $nick 1 -- End -- 
  }
  else { notice $nick My !Menu command if currently turned off }
}
on *:text:!rules:#:{
  if (!%menu) {
    msg $Nick 4 #RS-E RULES!!
    msg $Nick 4 Please do NOT use offensive Language.
    msg $Nick 4 Please do NOT spam.
    msg $Nick 4 Please do not bring other Bots into this channel.
    msg $Nick 4 Respect other members.
    .Notice $Nick Our rules have been pmed to you, thankyou.
    msg $nick 1 -- End -- 
  }
  else { notice $nick My !Rules command if currently turned off }
}
on *:text:!opcomms:#:{
  if (!%menu) {
    if ($nick isop $chan) || ($nick ishop $chan)  {
      msg $Nick 4 ~*~ Half-op+ commands ~*~ 
      msg $Nick 4 "!statuscomms" - Half-Operator+ commands
      msg $Nick 4 "!channelcomms" - channel commands (half-op+)
      msg $Nick 4 "!kickcomms" - kick commands.(half-op+)
      .Notice $Nick My Half-op+ have been pmed to you, thankyou.
      msg $nick 1 -- End -- 
    }
    else { notice $nick Only available to half-op+. Sorry. }
} }

on *:text:!statuscomms:#:{ 
  if (!%menu) {
    if ($nick isop $chan) || ($nick ishop $chan)  {
      msg $Nick 4 ~*~ Status Commands (half-op+) ~*~ 
      msg $Nick 4 !op NICK (OP ONLY) - gives nick operator status.
      msg $Nick 4 !deop NICK (OP ONLY) - takes operator status from nick.
      msg $Nick 4 !hop NICK (OP ONLY) - gives nick half-operator status.
      msg $Nick 4 !dehop NICK (OP ONLY) - takes half-operator status from nick.
      msg $Nick 4 !v NICK - gives nick voice status.
      msg $Nick 4 !dev NICK - take voice status from nick.
      .Notice $Nick Half Operator+ only commands that change NICK's Status have been sent to you via PM, thankyou.
      msg $nick 1 -- End -- 
    }
    else { notice $nick Only available to half-op+. Sorry. }
} }
on *:text:!channelcomms:#:{ 
  if (!%menu) {
    if ($nick isop $chan) || ($nick ishop $chan)  {
      msg $Nick ~*~ Channel Commands (half-op+) ~*~ 
      msg $Nick 4 !mute - mutes the channel.
      msg $Nick 4 !demute - demutes the channel.
      .Notice $Nick My channel commands (half-op+) have been sent to you via PM, thankyou.
      msg $nick 1 -- End -- 
  } }
  else { notice $nick Only available to half-op+. Sorry. }
} 
on *:text:!Kickscomms:#:{ 
  if (!%menu) {
    if ($nick isop $chan) || ($nick ishop $chan)  {
      msg $Nick ~*~ Kicks (half-op+) ~*~ 
      msg $Nick 4 !tb NICK TIME(mins)(REASON) - Bans user, unbans after mins.
      msg $Nick 4 more to come.
      .Notice $Nick My kick commands (half-op+) have been sent to you via PM, thankyou.
      msg $nick 1 -- End -- 
    }
    else { notice $nick Only available to half-op+. Sorry. }
} }

on *:text:!menuoff:#:{
  /set -s %menu off
}
on *:text:!menuon:#:{
  /unset %menu
} }

;------------------PCW SCRIPT--------------
on *:Text:!pcon:#: set %pcw on
on *:Text:!pcoff:#: set %pcw off

on *:TEXT:!pcw:#:{ 
  if (%pcw == on) {
    .notice $nick   12 The Current World Is    4 $+( ,%pc,)  12This world was set 3 $duration($calc($ctime - %pcc $ctime)))     12ago. [ Set by      $+( ,%pcnick,)   ] !Pcw command has been used        $+( ,%pcwcount,)  times so far!
    /inc %pcwcount
  }
}
on *:TEXT:!setpcw *:#:{
  if (%pcw == on) {
    if ($nick isop $chan) || ($nick ishop $chan)  { 
      /set -s %pc $2 
      /set -s %pcnick $nick
      /unset %pcc $ctime
      /set %pcc $ctime
      /notice $nick The new world is $2
      /msg $chan   4 The world has been changed!! Type !pcw to see the new world
    }
    else { /notice $nick You are not allowed to set a world, only operators are. } 
  }
}

;---------Mute/Demute-----------

;Mute/DeMute Channel:
on *:text:!mute:#:{ if ($nick isop $chan) || ($nick ishop $chan) { mode $chan +m } }
on *:text:!demute:#:{ if ($nick isop $chan) || ($nick ishop $chan) { mode $chan -m } }

;--------Nick Silence/Desilence-----

on *:text:!ns*:#: {
  if ($nick isop $chan) || ($nick ishop $chan) { /mode # +b ~q:* $+ $$2 $+ * }
}

on *:text:!nds*:#: {
if ($nick isop $chan) || ($nick ishop $chan) { /mode # -b ~q:* $+ $$2 $+ * } }

;---Time-Ban Script---

;Command is: !tb NICK TIME(IN MINS) REASON:

on *:text:!tb*:#:{
  if ($2 isop $chan) || ($2 ishop $chan) { 
    notice $nick I have been forbidden to use this command on Operators and Half-Operators! 
    halt 
  } 
  elseif ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) { 
    inc %kcount
    echo 4 -a /ban -ku $+ $calc( $3 * 60 ) $chan $2 2 Reason: $4- - $3 Minute Ban - Noobs Pwnt: ( %kcount ) 
  }
} 

;---status's---
;--op--
on *:TEXT:!op*:#:{
  /mode $chan +o $2
}

;--deop--
on *:TEXT:!deop*:#:{
  /mode $chan -o $2
}

--halfop--
on *:TEXT:!hop*:#:{
  /mode $chan +h $2
}

--de.halfop--
on *:TEXT:!dehop*:#:{
  /mode $chan -h $2
}

--voice--
on *:TEXT:!v*:#:{
  /mode $chan +v $2
}

--devoice--
on *:TEXT:!dev*:#:{
  /mode $chan -v $2
}