library CodeCaller
globals
private trigger Trig = CreateTrigger()
endglobals
function ExecuteCode takes code action returns nothing
local triggeraction act = TriggerAddAction(Trig, act)
call ExecuteTrigger(Trig)
call TriggerRemoveAction(Trig, act)
endfunction
endlibrary
Hello, i'm looking for something that does the following
Is this possible without using trigger evaluations??
My function returns syntax error.Isn't that what your function does ?