Shoutbox

[REQUEST] Higher or Lower game. - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [REQUEST] Higher or Lower game. (/showthread.php?tid=65459)

[REQUEST] Higher or Lower game. by laurenz on 08-27-2006 at 09:51 AM

Hi.
I would love to have a higher/lower game for using in msn with my friends.
It doesn't need to be really advanced, just something simple.

I was thinking about something where you can start the game by saying "!start game".
then it generates a random number under the 500.
after the number is generated the player can guess a number by typing "!guess #", with ofcourse the # being the number.
If the random generated number is higher then the user submitted number, then it has to say something like "Thats not the number i was thinking about, try guessing higher" or if its lower it says the same but then instead of higher it tells the player that its lower.
Everytime a number is guessed, a hidden counter counts how many times the player guessed, and when the player has guessed over 10 times, it says he lost, and tells him or her the number.

I hope someone can make something simple like this.


RE: [REQUEST] Higher or Lower game. by Jesus on 08-27-2006 at 10:26 AM

maybe I'll script it tonight if noone else has done it by then.


RE: [REQUEST] Higher or Lower game. by Jesus on 08-28-2006 at 10:59 AM

Didn't have time yesterday, so I made it this morning.

only commands are !start and !guess #
HighLow.plsc
have fun

edit: I don't think it supports more than 1 game at a time... Maybe if I have time I'll make it so that every chat window can have its own game.


RE: [REQUEST] Higher or Lower game. by Jesus on 08-29-2006 at 10:31 AM

and here is the update, multiple chats can now play at the same time.
also, there's a new command introduced (scriptside only) but you'll have to look it up in the code, cause I won't tell which it is ;)


RE: [REQUEST] Higher or Lower game. by ShawnZ on 08-29-2006 at 10:34 AM

    if(Message.toLowerCase().split(" ")[0] == "!cheat")

xso_sad


RE: [REQUEST] Higher or Lower game. by Jesus on 08-29-2006 at 10:37 AM

quote:
It's not a game if you can't cheat.

Heard it somewhere lately, can't remember where though ;)
RE: [REQUEST] Higher or Lower game. by Jimbo on 08-29-2006 at 10:58 AM

it would be a better script if u made it so that poeple had to take it in turns


RE: [REQUEST] Higher or Lower game. by NanaFreak on 08-29-2006 at 12:11 PM

Ok i have made a UI so that the user can edit the number of the range and the amount of guesses and also made teh script a little better (the first one)

here it is i hope you like it

attachment delted see down for newer version


RE: [REQUEST] Higher or Lower game. by Jimbo on 08-29-2006 at 06:46 PM

can you make it so that you have to take it in turns?


RE: [REQUEST] Higher or Lower game. by NanaFreak on 08-30-2006 at 07:56 AM

quote:
Originally posted by 134jimbodude
can you make it so that you have to take it in turns?
Done i hope you like it and it tells you if it is your go or not :P the person with the script goes first and when installing you need to configure it or it will be undefined (total guesses and the range of the numbers).

here it is it wasnt much
RE: [REQUEST] Higher or Lower game. by fergofrog on 08-30-2006 at 09:03 AM

quote:
Originally posted by gjs1992

Jay_jay the above update doesnt give turns it's buggy please test it yourself and make an update and please can you make it if the peson is near from the chosen number like near in 15 to 10 numbers it shows a message likr, "You're so near (name here), to the number I wanted!!!


RE: [REQUEST] Higher or Lower game. by NanaFreak on 08-30-2006 at 10:46 AM

ok well i tested it and it does work and i didnt make the script i only modified it a little so i dont know really and my version will only work with you and one other.