Hippie Test Game Script

By |Batman on Jul 15, 2008

Thanks for the help El!
It all started as a funny idea 2 see how much percentage El was so i decided 2 code a snippet. The first one i coded was LONG AS Heck. so i sent it 2 El so he fixed it up for me and thats what it turned out 2 be. Do not change anything in this code.

;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Hippie test v 1.0 ;;;
;;;        by         ;;;
;;;      Batman       ;;;
;;;   Thanks to EL    ;;;
;;;    4 fixing up    ;;;
;;;;;;;;;;;;;;;;;;;;;;;;;
on *:text:*:#: {
  if ($strip($1) == !hippietest) {
    inc -u10 $+(%,_Hippie_F,.,$chan,.,$nick) 
    if ($($+(%,_Hippie_F,.,$chan,.,$nick),2) == 3) { .notice $nick Please wait... | halt }
    if ($($+(%,_Hippie_F,.,$chan,.,$nick),2) >= 4) { halt }
     if ($strip(!$2)) { .notice $nick Please choose a nickname to test.Syntax:  !hippietest Nickname | halt }
    if ($strip($2) !ison $chan) { .notice $nick Please choose a nickname in the channel. | halt }
    if ($strip($2)) {
      var %Hipp = 0,10,20,30,40,50,60,70,80,90,100
      var %Hippie $strip($2)
      msg # Now Testing $strip($2) $+ 's Hippiness | msg # Please wait..........
      var %Test-Precent $gettok(%Hipp,$r(1,10),44))
      if (%Test-Precent == 0) { msg $chan %Hippie is %Test-Precent hippie- Finnally Someone Is just like me. NO HIPPIE NESS }
      if (%Test-Precent == 10) { msg $chan %Hippie is %Test-Precent hippie - You are only 10% hippie a little rap can fix it }
      if (%Test-Precent == 20) { msg $chan %Hippie is %Test-Precent hippie - Ok you good now all u need 2 do is not smoke next 2 me and it all good }
      if (%Test-Precent == 30) { msg $chan %Hippie is %Test-Precent hippie - Damn  you really close 2 be 0% more rap  }
      if (%Test-Precent == 40) { msg $chan %Hippie is %Test-Precent hippie - You are getting Close to normal }
      if (%Test-Precent == 50) { msg $chan %Hippie is %Test-Precent hippie - WTF how can u be 50% of each }
      if (%Test-Precent == 60) { msg $chan %Hippie is %Test-Precent hippie- ok this is still weird  }
      if (%Test-Precent == 70) { msg $chan %Hippie is %Test-Precent hippie- Dude listern 2 more rap  }
      if (%Test-Precent == 80) { msg $chan %Hippie is %Test-Precent hippie-  Wtf you are fuckin 80% hippie  }
      if (%Test-Precent == 90) { msg $chan %Hippie is %Test-Precent hippie - Hmm not quite 100%  }
      if (%Test-Precent == 100) { msg $chan %Hippie is %Test-Precent hippie - Stay the fuck away from me }
    }
  }
}

Comments

Sign in to comment.
irchainscriptz   -  Jul 16, 2008

tested this out we all had fun with this LOL nice job Batman

 Respond  
Typo   -  Jul 16, 2008

Not bad but I\'m going to make a few more changes incase you want them.

I\'m going to get rid of the | halt from the line that says to chose a name thats in the channel then I added an else to the if on the next line to make it an elseif to make up for the missing halt. It\'s the same thing, says, if that happened, don;t do this but if it didn\'t happen, do do it. lol.

I\'m going to combine you var\'s to one line.

I\'m going to Tokenize $strip($1-) so u can not use the repetetive $strips.

I\'m going to take all the repetetive \"msg $chan %Hippie is %Test-Precent hippie -\" and make the a variable to use so we save space.

I also added a percent sign to the percent number so it says 40% hippie instead of 40 hippie.

I added punctuation and fixed some grammar and some small wording changes.

I fixed the line for flood protection that said \"Please wait.....\"
to \"Pleas try again in a moment\" since its supposed to say something like that.

Here is what the output looks like now.

Now Testing typo\'s Hippiness
Please wait..........
typo is 0% hippie. - Finnally! Someone Is just like me. NO HIPPIE NESS!

and

Now Testing typo\'s Hippiness
Please wait..........
typo is 50% hippie. - WTF, how can u be 50% of each.

And here is the new code.

;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Hippie test v 1.0 ;;;
;;;        by         ;;;
;;;      Batman       ;;;
;;;   Thanks to EL    ;;;
;;;    4 fixing up    ;;;
;;;;;;;;;;;;;;;;;;;;;;;;;
on *:text:*:#: {
  if ($strip($1) == !hippietest) {
    tokenize 32 $strip($1-)
    inc -u10 $+(%,_Hippie_F,.,$chan,.,$nick) 
    if ($($+(%,_Hippie_F,.,$chan,.,$nick),2) == 3) { .notice $nick Please wait... | halt }
    if ($($+(%,_Hippie_F,.,$chan,.,$nick),2) >= 4) { halt }
    if (!$2) { .notice $nick Please choose a nickname to test.Syntax:  !hippietest Nickname | halt }
    elseif ($2 !ison $chan) { .notice $nick Please choose a nickname in the channel. }
    elseif ($2) {
      msg # Now Testing $2 $+ \'s Hippiness | msg # Please wait..........
      var %Hipp = 0,10,20,30,40,50,60,70,80,90,100, %Test-Precent $gettok(%Hipp,$r(1,10),44)), %Hippie $2, %test-message = msg $chan %Hippie is %Test-Precent $+ % hippie. -
      if (%Test-Precent == 0) { %test-message Finnally! Someone Is just like me. NO HIPPIE NESS! }
      if (%Test-Precent == 10) { %test-message You are only 10% hippie, a little rap can fix that. }
      if (%Test-Precent == 20) { %test-message Ok, your good now. All u need 2 do is not smoke next 2 me and it\'s all good. }
      if (%Test-Precent == 30) { %test-message Damn, your really close 2 being at 0%. You need more rap.  }
      if (%Test-Precent == 40) { %test-message You are getting Close to normal. }
      if (%Test-Precent == 50) { %test-message WTF, how can u be 50% of each. }
      if (%Test-Precent == 60) { %test-message Ok, this is still weird.  }
      if (%Test-Precent == 70) { %test-message Dude, listern 2 more rap.  }
      if (%Test-Precent == 80) { %test-message Wtf? You are fuckin 80% hippie!  }
      if (%Test-Precent == 90) { %test-message Hmm not quite 100% but wayyyyyyy too close!  }
      if (%Test-Precent == 100) { %test-message Stay the fuck away from me! }
    }
  }
}

Good job tho.

 Respond  
Cenadascripter   -  Jul 15, 2008

nice

 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.