it might be. if u explain what "inserting a variable into the Global() method" means.
do u have a particular object on which u have define a
method called
.Global() accepting at least 2 parameters?
do u by "method" mean the "function"
Global(), which u are trying to call with command-like syntax(eg
Global arg1, arg2)?
do u by "method" mean the "keyword"
global, with which u are trying import the variables
Team1 and
LV from the global scope? or are u trying to leak
Team1 into the global scope?
if 3., u cant dynamically import variables. the most u can do is declare ur function assume-global(requiring that u do ur due diligence not to access other globals that u dont need and that u dont leak any locals that ure not supposed to) and simply reference the variable normally, eg
Code: Select all
ToLobby(Team) {
Global
... := %Team% ; get Team1
...
%Team% := ... ; set Team1
...
local dontLeakThis := ...
...
}