Lol I already edited my other post, but I still wanna get your attention
***OTHER EDIT****
Also I have a question on how groovy works in game, lets say I make a question say "Are you a cool" Click Yes or No and then store the answer to a SQL Database.
And you need to temporarily use the variable which lets say is $derp. Will this variable work for everyone without collision or will one need to write an Array adding function where it adds you a huge array where every user is stored on whether he/she is cool or not? AKA $derp[sleepercell42]=yes or something like this...
Yes, you currently have ways you can easily store data associated with a player that is private to them. It takes more steps than it should and that's one of the things I will fix (maybe in this release). I have shown someone that in the correction of one of their scripts... though I don't have the post handy.
There will be ways to have all of the following:
-global variables available to all scripts (only exists in a hacky way but I may decide this is too dangerous anyway)
-global variables available to a specific script (any variables defined in the script are global to the script, ie: same variable for all players)
-in-memory data associated with a player/connection (this requires more code than it should and is what I talk about above. This data only lasts while the player is logged in)
-persistent data associated with a player (in multiplayer this already exists for string, int, etc... primitive types. playerData.someValue = "foo"; playerData.save())
One I'm on the fence about:
-persistent data associated with any entity (the entity system supports this but it's not as straight forward as the playerData example above)
In Neverwinter Nights, we could have any local variable we wanted on any object. I can make some nice functions for doing this within the entity system but I have to see how well it performs. One thing you couldn't easily do in NWN was have random objects just to stick things on (well, you could but they cost you)... In Mythruna's entity system, an entity is free (literally costs nothing) until it has data associated with it.
This may lead itself to different strategies.
***EDIT 2***
Lol well of course I meant a server script lol
P.S what are you doing up so early
or is it already late where you are...
It's now just after noon here. I live on the east coast USA. My really odd sleep schedule sometimes confuses things.
For example, this past weekend it seemed like I was sleeping in 2-3 hour shifts. I finally got my day-job release out, ran down off the adrenalin, went to bed at noon and then wasn't aware of anything until after 6:30 PM.