Cupcake cannon (with milk hose extension!)

By Jelly on Jul 03, 2009

I was bored, so I made a script that would (somewhat spamily) shoot someone specified by the trigger with a cupcake cannon .... or not. Then it would attempt to shoot them with milk (this is a very violent method of eating cupcakes, do not try this at home.)

It also counts how many times its been used, but you can get rid of that if you think its too spammy.

trigger !cupcake $2

Example of usage:

»16:31:34« [@]Emmett_Cullen: !cupcake mIRC
»16:31:34« Jelly loads up the cupcake cannon, aims and..
»16:31:37« FIRES! ...But at the last second the cannon tilted upward, and now 524160 cupcakes will rain down upon us like a delicious sugary Apocalypse.
»16:31:40«
Jelly thinks its time for the milk hose now, so he gets it out, aims and...
»16:31:43« FIRES! ...But misses and "accidentally" drenches Emmett with 2 gallons of milk.
»16:31:44« Times the cupcake cannon has been used: 6.

on *:text:!cupcake *:#:{ 
  inc %cupcaked
  var %cupcake = $rand(1,3) 
  describe $chan loads up the cupcake cannon, aims and..
  if (%cupcake == 1)  .timer 1 3 msg $chan FIRES! Sending $r(1,10) cupcakes into $2 $+ 's mouth! 
  if (%cupcake == 2)  .timer 1 3 msg $chan FIRES! ... But it missed and fills $nick($chan,$r(1,$nick($chan,0))) $+ 's mouth with $r(1,100) cupcakes!
  if (%cupcake == 3)  .timer 1 3 msg $chan FIRES! ...But at the last second the cannon tilted upward, and now $r(1000,1000000) cupcakes will rain down upon us like a delicious sugary Apocalypse. 
  unset %cupcake
  var %cupcake = $rand(1,3) 
  .timer 1 6 describe $chan thinks its time for the milk hose now, so he gets it out, aims and...
  if (%cupcake == 1)  .timer 1 9 msg $chan FIRES! Sending $r(1,5) gallons of milk down $2 $+ 's gullet.
  if (%cupcake == 2)  .timer 1 9 msg $chan FIRES! ...But misses and "accidentally" drenches $nick($chan,$r(1,$nick($chan,0))) with $r(1,10) gallons of milk.
  if (%cupcake == 3)  .timer 1 9 msg $chan FIRES! ... INTO THE SKY. $r(1000,10000000) gallons of milk will rain down for days to come.
  unset %cupcake
  .timer 1 10 msg $chan Times the cupcake cannon has been used: %cupcaked $+ .
}

Comments

Sign in to comment.
PATX   -  Jul 06, 2009

@sunslayer LOL! Yeah those are pretty cute. My GF has a cat. It hates me :/ So i guess that is why I prefer dogs. That and I have a dog so... :/

 Respond  
Spanky   -  Jul 06, 2009

because they are now go lrn2script or /quit commenting...

 Respond  
Weasel   -  Jul 06, 2009

Listen. Every time you see my scripts u say omg lmao FAIL

 Respond  
sunslayer   -  Jul 05, 2009

lmao @ weasel

@PATX

thought is was a cat LOLOLOL even worse cos i like dogs better :)

how can you not love these http://www.dailypets.co.uk/wp-content/uploads/2007/06/kittens-cups.jpg ?

 Respond  
Cheiron   -  Jul 05, 2009

when a user has posted a working script that is original, correct, and working as it should be with no corrections needed.. we do not insult them. if something can be modified or improved we say.. we show them how or suggest.
that is how this site is supposed to work. offering useful help, tips and comments for budding scripters. if i wanted a slanging match i would go down the local pub. these insult based comments ruin the scripts that users have posted as it distracts everyone from the actual script itself and puts off the scripter from doing anymore

 Respond  
PATX   -  Jul 05, 2009

Weasel. Weasel Weasel Weasel. Uh. YOUR scripts are truly bad, well SOME of them are. this is good script however. u are free to insult anybody you want (take a shot i could care less (i have a life)) however this script does not fail. so we responded to ur bad judgment.

Also: if you READ our comments u will se that we did not insult you we gave you constructive advice.

 Respond  
Weasel   -  Jul 05, 2009

Hey! So you can insult ME but i cant them!?

 Respond  
Spanky   -  Jul 04, 2009

o.o kinda looks like my aunt on a good day..

 Respond  
PATX   -  Jul 04, 2009

thought is was a cat LOLOLOL even worse cos i like dogs better :)

 Respond  
Cheiron   -  Jul 04, 2009

lmao ..the dog yes .. the chinese crested crossed with a chiuahua

 Respond  
PATX   -  Jul 04, 2009

@Cheiron also (totally just noticed this) but your avatar really freaks me out :p lol

 Respond  
PATX   -  Jul 04, 2009

@weasel go away.
@jelly love it 10/10.

 Respond  
eyiezinc   -  Jul 03, 2009

@weasel stfu take a look at your "scripts" before u insult other peoples.
@jelly ignore that idiot, and nice btw i like your originality.

/me agree. do not insult other peoples... please respect their works!!

 Respond  
TheNitelyfe   -  Jul 03, 2009

Simple and funny. Clean too.

also wdf r u guyz talkin bout weezle has da bst skripz evr llololololllol

 Respond  
Spanky   -  Jul 03, 2009

@weasel stfu take a look at your "scripts" before u insult other peoples.
@jelly ignore that idiot, and nice btw i like your originality.

 Respond  
sk68   -  Jul 03, 2009

lol, I like it, definitely points for originality

 Respond  
Cheiron   -  Jul 03, 2009

its not a fail at all weasel and you havent said why you feel it is a fail also.

the code is sound and clean. he has remembered to unset the variables after use and the code is a worker and original.

 Respond  
Weasel   -  Jul 03, 2009

fail, 1-10

 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.