Jump to content
Sign in to follow this  
Gamer4Life

a little new in this area please help

Recommended Posts

Gamer4Life

looking to make a little game for my work i work at Taco Bell and wanna put the weights of the menu items like a game but don't know where to start i know a little on how to make scripts but wanna further my knowledge.....

i want it to make a pop up box and you input the correct weight

example: Big Taste Taco = ________

then you would input 4.4 and hit the ok button

i know it is something simple for some of you but i am still new to this any pointers would be appreciated thanks :)

Share this post


Link to post
Share on other sites
Glyph

$total=0
while 1
$answer = InputBox("total: "&$total, "Enter numbers", "", "",-1, -1, 0, 0)
if @error then Exit
$total += $answer
WEnd

If you dont understand the code, it's in the helpfile.

Edited by Glyph

tolle indicium

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×