Reformated for legibility with endif commands included...
--
TAZ
if cmd$="windir"
print "The windows directory of your pc is in: ";windir$()
else
if cmd$="help"
print "You have asked for help! The only thing you need to do is to write a command, write cmd if you want a list of aviable commands."
else
if cmd$="cmd"
print "Command list:"
print "windir"
print "websites"
print "credits"
print "exit"
else
if cmd$="websites"
goto web
else
if cmd$="credits"
goto credits
else
if cmd$="exit"
end
endif
endif
endif
endif
endif
endif
and...
if nmb$="1"
execute file "http://cdwmod.battlefieldelement.com/","",""
else
if nmb$="2"
execute file "http://www.123spill.com","",""
else
if nmb$="3"
execute file "http://www.msgplus.net","",""
else
if nmb$="0"
goto gottit
else
print "ERROR command not known!"
endif
endif
endif
endif
I agree that Emperor Baal's suggestion would be better in this case.