ID:149448
 
What's wrong with the following coding?

if(Admin.Find(key))
var/admin = input("What Admin icon do you want?" in list ("DW4 Hero-Norm","DW4 Hero-3","DW4 Hero-2","DW4 Hero-4")
switch(admin)
if("DW4 Hero-Norm")
icon='dw4hero norm.dmi'
if("DW4 Hero-3")
icon='dw4hero red.dmi'
if("DW4 Hero-2")
icon='dw4hero inverted.dmi'
if("DW4 Hero-4")
icon='dw4hero4.dmi'


For some reason I keep getting "Dragon Warrior Stars.dm:82:error: switch: missing comma ',' or right-paren ')'
Dragon Warrior Stars.dm:82:error: switch: expected end of statement" errors. What is wrong and how do I fix it?
before in list put ).

-Kappa the Imp
In response to Kappa the Imp
I can't believe I missed that. One character problems are really getting at me today. Thanks.