oops....let me try again
HIDE MOUSE
PRINT "WELCOME TO DRUNKEN WOOKIE'S DICE ROLLER":PRINT " ":PRINT " "
S=0:D=0:N=0:R=0:T=0
LOAD MUSIC "RAINAGAIN.MID",1:PLAY MUSIC 1
DICECHOICE:
INPUT "HOW MANY SIDES? ",S:S=S-1:INPUT "HOW MANY DICE? ",D
FOR N=1 TO D
CLS:R=RND(S)+1:T=T+R
PRINT "YOUR ROLL WAS "; R:PRINT "YOUR CURRENT TOTAL IS "; T:PRINT "PRESS A KEY TO CONTINUE"
SUSPEND FOR KEY
NEXT N
CLS:SET CURSOR 255,240:INPUT "ROLL AGAIN? ",Q$
IF Q$ = "YES":GOTO DICECHOICE:ELSE:IF Q$ = "Y":GOTO DICECHOICE:ENDIF:ENDIF
CLS
SET CURSOR 270,240:PRINT "EXITING":SLEEP 1500
SET CURSOR 270,240:PRINT "EXITING.":SLEEP 1500
SET CURSOR 270,240:PRINT "EXITING..":SLEEP 1500
SET CURSOR 270,240:PRINT "EXITING...":SLEEP 1500:STOP MUSIC 1
SET CURSOR 270,240:PRINT "EXITING....":SLEEP 1500:CLS
END
let me know if you have any other probs.
Duct tape is like the force...there is a light side and a dark side and it binds the universe together.