Can't get GetVariable to work with variable

Forum to discuss MLScript plugin that enables VBScript and JavaScript scripting within MLServer3.
User avatar
itanic
Intermediate
Intermediate
Posts: 455
Joined: Tue Jun 15, 2004 10:05 am
Location: Oregon
Contact:

Can't get GetVariable to work with variable

Postby itanic » Fri Mar 05, 2010 4:45 pm

Trying to get this to return a value, but keeps coming back blank. Any ideas?

Sub Main(Params)

playerstatusvar = "pvr2_bonusroom_WinMode"
PlayerStatus = MLServer.GetVariable("&playerstatusvar&")

End Sub

Return to “MLScript”

Who is online

Users browsing this forum: No registered users and 1 guest