Jonas DK
09-22-2005, 09:00 AM
HI
I was looking at the loadscript function in the help menu, and tourght that someone here might have more experience with it then I.
I have an application where the users login. Every time a user logs in a variable is set so if John logsin the variable is set to 1 or if its Jane it is set to 2 and so forth...
Now If I want a different menu for each user with different functionallety can I then do this by calling a lua script file?
EX. when John logs in the program checks the variable and sees that it is set to 1 and then call the lua file john.lua ...
Get the Idea of what it is I want to do here?
cheers,
Jonas DK
I was looking at the loadscript function in the help menu, and tourght that someone here might have more experience with it then I.
I have an application where the users login. Every time a user logs in a variable is set so if John logsin the variable is set to 1 or if its Jane it is set to 2 and so forth...
Now If I want a different menu for each user with different functionallety can I then do this by calling a lua script file?
EX. when John logs in the program checks the variable and sees that it is set to 1 and then call the lua file john.lua ...
Get the Idea of what it is I want to do here?
cheers,
Jonas DK