Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to run a function by a variable name?

I am making a admin script and I want it so were if you chat it see you used : and it knows that the rest might be the command, so the command can be searched through a list of function and if its a function then it could do something like

runfunction(Variable)

1 comment

0

if variable == "Whatever" then

2 answers

if variable == "whatver" then

elseif variable3 == "whatevr2" then



elseif variable4 == "whtevr2" then
end

This discussion is preserved as it was. New answers, comments, and votes are closed.