Code:
handler:Execute( [[
Spelltocast = "Example"
secureButton = self:GetChildren()
]] )
SecureHandlerWrapScript(button, "OnClick", handler,
[[
secureButton:SetAttribute("spell", "Spelltocast")
]]
)
My issue with this code so far is how to pass a outside value to Spelltocast
like if a function sets Spelltocast how can SecureHandlerWrapScript Use that Value then
like having spelltocast as a cvar
also as another question
can i use IF like this is lua?
if(true1 && !truebutwanttotestforfalse1) then