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

Simple Lua Efficiency Question?

Hey guys, simple question here. I was just wondering if syntax similar to the lines of:

if string == "Hi" or "Bye" or "No" or "Yes" then

is possible in Lua.

Thanks

1 answer

✓ Accepted answer

No, that is not possible. You can use a dictionary to similar effect.

1 comment

0

Thanks

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