passing cmd line arguments to the game runtime and using them


Can i launch a game runtime via command line with custom parameters (and use them in my game of course), for example :

myBlenderChatApp <login> <pass>


if i’m not very much mistaken, you can’t do that with just a runtime. you’d have to have a shell script(batch file on windows, whatever the mac equivalent is) that says something to the effect of “enter username”(press enter) “enter password” (press enter) if username and password are found in database, start application. if not, echo(print, whatever) “sorry, wrong username/password” and loop back to the “enter username”.

i don’t know the actual shell script or batch equivalent, i’m not that literate and i don’t have a linux comp at the moment to test any bright ideas. and i doubt it’d be of any use to you.