Santas Bag

By Anon_Lewy on Mar 17, 2012

This is my first script i made the trigger is !santasbag Just load it in the Remotes and enjoy

== SantsBag, Made By Anon_Lewy ===

on *:TEXT:*:#: {
  set %trigger !
  if ($+(%trigger,SantasBag) == $strip($1)) { 
    Msg $Chan 3_4-3_4-3_4-3 $nick 4Reaches 3in 4Santas 3Bag 4-3_4-3_4-3_4-
    timer 1 1 msg $chan 3*4*3*4*3*4 $nick 3Starts 4Pulling 3Out...
    timer 1 2 msg $chan 3*4*3*3*4*3 $nick 4Pulls 3out 4.3.4.3.4.
    Set %SB $rand(1,18)
    if (%SB == 1) { timer 1 3 msg $chan 3a 4New 3Vibrating 4Dildo | timer 1 4 msg $chan 3Dont 4use 3up 4the 3batteries 4all 3in 4one 3day }
    if (%SB == 2) { timer 1 3 msg $chan 3a 4MW3 3Special 4edition 3Xbox 4 360 | timer 1 4 describe $chan  Knocks you out and steals it }
    if (%SB == 3) { timer 1 3 msg $chan 3a 4new 3x11 4Turtal 3Beach 4Headset | timer 1 4 describe $chan Lurks around eyeing your X11's }
    if (%SB == 4) { timer 1 3 msg $chan 3a 4huge 3Bag 4of 3Rino 4Shit | timer 1 4 describe $Chan Runs up grabs the shit and flings it at your face }
    if (%SB == 5) { timer 1 3 msg $chan 3an 4HP 3Envy 4with 3beats 4audio | timer 1 4 msg $chan  3Now4 $nick 3you 4better 3learn 4how 3to 4Fuckin 3script 4better 3you 4twinkle 3toed 4son 3of 4a 3bitch }
    if (%SB == 6) { timer 1 3  msg $chan 3 12 4pounds 3of 4Amnisia 4Haze | timer 1 4 describe $chan pulls out the Bong and says Lets Hot Box The Room DUDE xD }
    if (%SB == 7) { timer 1 3 msg $chan 3 5'Ft 4Glow 3in 4the 3Dark 4Bong | timer 1 4 describe $chan pulls out a Oz of Purple Haze and says Lets break in that Bong yo }
    if (%SB == 8) { timer 1 3 Msg $chan 3a 4 10 3HP 4Lawn 3mower | timer 1 4 msg $chan 4 Mow 3my 4lawn 3now4 Bitch }
    if (%SB == 9) { timer 1 3 msg $chan 3a 4brand 3New 4Ipad 32 | timer 1 4 describe $chan walks up and Smashes it to pieces }
    if (%SB == 10) { timer 1 3 msg $chan 3Harry 4Potters 3Wand | timer 1 4 describe $chan takes the wand gives it a wave and says Fuck Off }
    if (%SB == 11) { timer 1 3 msg $chan 3a 4huge 3bag 4with 31 4Million 3Dollars | timer 1 4  describe $chan screams Hey $nick Look over there and takes out 1 thousand dollars and runs away }
    if (%SB == 12) { timer 1 3 msg $chan 3a 4giant 3Bag 4of 3Brownies | timer 1 4 describe $chan takes 5 brownies then walks away }
    if (%SB == 13) { timer 1 3 msg $chan 3a 4M16 3with 4an 3Extended 4Magazine 3and 4Red 3Dot 4Sight | timer 1 4 describe $chan takes the gun and shoots all of Santas Reindeer }
    if (%SB == 14) { timer 1 3 msg $chan 3a 4 30 3pound 4bar 3of 4gold | timer 1 4 describe $chan watches santa knock you out and scream THATS MY GOLD MUTHAFUCKA and run away }
    if (%SB == 15) { timer 1 3 msg $chan 3a 4Baby | timer 1 4 describe $chan 3throws 4papers 3at 4your 3face 4and 3yells 4YOUR 3BABYMOMMA 4WANTS 3TO 4SEE 3YOU 4IN 3COURT }
    if (%SB == 16) { timer 1 3 Msg $chan 3 brittany 4robertson | timer 1 4 describe $chan watches Alpha_Prime come out of No where and steal her and scream FUCK OFF SHES MINE }
    if (%SB == 17) { timer 1 3 msg $chan 3a 4live 3grenade | timer 1 4 describe $chan watches you Explode BOOOOOOOOM awww what a waste poor grenade }
    if (%SB == 18) { timer 1 3 msg $chan 3a 4L7 3Kicker 4with 3a 4custom 3Box | timer 1 4 msg $chan 4that 3shit 4pounds 3yo }
  }
}

Comments

Sign in to comment.
Anon_Lewy   -  Mar 18, 2012

Thanks for the Feed back Blackvenomm666 ill keep that in mind for future scripts :)

 Respond  
blackvenomm666   -  Mar 18, 2012

you can also do it as such for the trigger

on *:TEXT:*:#: {
  tokenize32 $strip($1-)
if ($1 == !SantasBag) {
rest of codehere
 Respond  
Anon_Lewy   -  Mar 17, 2012

@Spoof: Thank you :D
@sunnyD: Thanks for the Tips :)

 Respond  
Sorasyn   -  Mar 17, 2012

@thegingon: Use PHPBB code tags ;) [ and ] instead of < and >

I shudder at the sight of global variables so,

Set %SB $rand(1,18)

At the very least practice using /var -- much cleaner and the value doesn't stick in your variables until the end of time.

Next,

on *:TEXT:*:#: {
  set %trigger !
  if ($+(%trigger,SantasBag) == $strip($1)) { 

This not only includes the variable which, for some reason, you decided to store "!" and use it to compare the line to the trigger.

$+(%trigger,SantasBag)

it would be one thousand times easier to simply write

$+(!,SantasBag)

That being said, that was a re-write of your current code. Like TheGingOn has stated. You could eliminate 2 out of those 3 lines with an expanded TEXT event statement.

On *:TEXT:!SantasBag:#:{

In summary, using goto statements as compared to your method would prove to be a cleaner alternative. However, yours works as it should, which is more than some people can say. Looks good though don't get me wrong.

 Respond  
thegingon   -  Mar 17, 2012

why not use

on *:TEXT:!santabaf:#: {
 Respond  
Spoof   -  Mar 17, 2012

nice work dude. :D

 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.