and why the five commands a line limit?, and external media?, HUH!, beginers!, (LOL just kidding), but you can get a working program in FAR less than twenty lines, heres one thats an oldie, note that it uses a goto to keep the code small, goto is not normaly accepted by the code community, it`s considerd bad form, so sue me ;D
start:
randomize timer():count=0:cls:number=rnd(99)+1:print "I am thinking of a number between 1 and 100":print "I will give you ten tries to get it, what do you think it is?"
do
goagain:
input a:count=count+1: if a>100 or anumber then print a;" is higher than the number I was thinking of, try another number please"
if a=number then print "you where correct ";a;" is the number I was thinking of, you got it in ";count;" tries, get ready to go again": wait 4000:goto start
if count>10 then print "sorry!, you took more than ten tries to find the number, try another number, you may be lucky this time": wait 5000:goto start
loop