Thanks K700 for the example, perfect answer for my question 
What comes down to calling scripts with parameters, i realized i can use registers to do the job.
Instead of using params, i can simply use game.reg[1] = 1 before calling the script and use reg1 in MS.
Actually this way i can use script in MS to assign global variables too. It's kind of a dirty workaround, but get's the job done
What comes down to calling scripts with parameters, i realized i can use registers to do the job.
Instead of using params, i can simply use game.reg[1] = 1 before calling the script and use reg1 in MS.
Actually this way i can use script in MS to assign global variables too. It's kind of a dirty workaround, but get's the job done