ID:2310800
 
Code:
switch(command)
if(??) (I used command in listname)
if(command in 2ndlistname)


Problem description:
Basically, I'm trying to find a bunch of text from a player so I can use it for commands, I have commands split up into seperate lists so that more keywords work for the same command, but I am unsure if this is even possible?

in short, I'd want to make switch() check the entry against 3-4 lists, is that even possible?

EDIT: I should add that the lists contain text only.

switch(command)
if("a","b")
if("c")
if(0 to 100)
else


Use commas. In isn't valid in switch cases.
In isn't valid in switch cases.

Not the way the OP is using it; for numbers it is.
In response to FKI
FKI wrote:
In isn't valid in switch cases.

Not the way the OP is using it; for numbers it is.

Can you demonstrate that syntax? I'm pretty sure you are thinking "to", not "in".