pc world snippet

By Aaron on Jan 18, 2007

a pretty nice pc world and world changer.

**i use auser..dont hate me :P
***to set auser, type /auser 100

!setworld sets the pc world.
!world tells the user via notice the current world.

also setting invite keeps users joining down to a minimum

#world on
on 100+:text:!setworld*:#:{
  .mode $chan +i
  .timer 1 4 set %world $2- | msg $chan 3the PC World is now: %world , the !world command is now offline to prevent flooding the timer will continue to name the world for the next 2 minutes
  .timer 1 5 disable #world
  .timer 1 15 msg $chan 4the new pc world is: %world 
  .timer 1 30 msg $chan 4the new pc world is: %world 
  .timer 1 45 msg $chan 4the new pc world is: %world 
  .timer 1 60 msg $chan 4the new pc world is: %world 
  .timer 1 75 msg $chan 4the new pc world is: %world 
  .timer 1 90 msg $chan 4the new pc world is: %world 
  .timer 1 105 msg $chan 4the new pc world is: %world 
  .timer 1 120 msg $chan 4the new pc world is: %world 
  .timer 1 123 .enable #world 
  .timer 1 123 .mode $chan -i
  .timer 1 123 msg $chan 3world command is back up, please type !world to view it.
}
#world end

#world on
on @*:text:!world:#:{ 
  inc %num 
  inc -u120 $+(%,cnt.,$nick) 
  if ($($+(%,cnt.,$nick),2) <= 3) { 
    notice $nick The current PC world is %world * %num * 
  } 
  else { 
    ban -ku30 $chan $nick 10Triggered the !world flood -- 3 > 120 seconds * 30 second ban. | unset $+(%,cnt.,$nick)
  } 
}
#world end 

on 100+:text:!worldon:#:{ .enable #world | msg $chan 3pc world is now turned on. }
on 100+:text:!worldoff:#:{ .disable #world | msg $chan 4pc world is now turned off. }

Comments

Sign in to comment.
m4g3script   -  Jun 24, 2007

Like i say for other scripts like this you should add more than one option that can be used to find out the worlds such as !pcw, or !pc, but its still a very good script for a high trafic irc channel and it also helps reduce world spam...^.^ we al hate world spam -.-\"

 Respond  
Aaron   -  Jan 28, 2007

i can look for a duration help and put it in

 Respond  
some541   -  Jan 28, 2007

Can somone help me with how to set a timer, like one to tell you how long that world has been set for?

 Respond  
F*U*R*B*Y*   -  Jan 20, 2007

.timer 1 4 set %world $2-

^_^ should add before that if (!$2) { notice $nick Enter a new world please } else { do the script

 Respond  
Aaron   -  Jan 20, 2007

added: world flood kicker

 Respond  
Aaron   -  Jan 18, 2007

im going to add a spam kick later on

 Respond  
Aaron   -  Jan 18, 2007

irc channel with high traffic, its a good script for keeping world spam down

 Respond  
Nachos   -  Jan 18, 2007

I don\'t really see the use of this script.

 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.