mob
Login()
switch(input("Do you wish to continue, or Create a new Character?", "Load") in list("Continue", "New"))
if("Continue")
if(fexists("Players/[usr.ckey].sav"))
src.Load()
world << "<b><font color=red></b>[src.name]([src.key]) has just logged into the game!"
if(src.admin == 1)
src.verbs += typesof(/mob/admin/verb)
else
alert(src,"You do not have a savefile!","ERROR")
src.Login() //log them in to restart the switch statement
if("New")
if(fexists("Players/[usr.ckey].sav")) //delete the savefile if they have one
fdel("Players/[usr.ckey].sav")
src.name = input("What do you want your name to be?", "Name") as text
if(src.name == "")
src.Login()
else
world << "<font color=red>'[src.name]' has just entered 'Pokemon Lightning Yellow Reborn'"
switch(input("Would you like to be a Trainer or a Pokemon?", "Trainer or Pokemon") in list("Trainer", "Pokemon"))
if("Trainer")
switch(input("Which Trainer do you wish to play as?", "Trainer") in list("Pikachu", "Charmander"))
if("Pokemon")
switch(input("Which Pokemon do you wish to be?", "Pokemon") in list("Pikachu", "Charmander", "Bulbasaur", "Squirtle", "Eevee", "Pidgeot", "Treecko", "Torchic", "Mudkip", "None"))
if("Pikachu")
src.icon = 'pikachu.dmi'
src.icon_state = "pikachu"
if("Charmander")
src.icon = 'char.dmi'
src.icon_state = "char"
if("Bulbasaur")
src.icon = 'bulba.dmi'
src.icon_state = "bulba"
if("Squirtle")
src.icon = 'squirtle.dmi'
src.icon_state = "squirtle"
if("Eevee")
src.icon = 'eevee.dmi'
src.icon_state = "eevee"
if("Pidgeot")
src.icon = 'geot.dmi'
src.icon_state = "geot"
if("Treecko")
src.icon = 'tree.dmi'
src.icon_state = "tree"
if("Torchic")
src.icon = 'tor.dmi'
src.icon_state = "tor"
if("Mudkip")
src.icon = 'mudkip.dmi'
src.icon_state = "mudkip"
if("None")
src.Logout()
if(src.key == "Element Her creator")
src.verbs += typesof(/mob/admin/verb)
src.admin = 1
else if(src.key == "")
src.verbs += typesof(/mob/admin/verb)
src.admin = 1
else if(src.key == "Commander_ACE")
src.verbs += typesof(/mob/admin/verb)
src.admin = 1
..()
Logout()
world << "'[src.name]' has left '[world.name]'"
src.Save()
del(src)
..()
Problem description:Heres the problem(look down)
if("Trainer")
switch(input("Which Trainer do you wish to play as?", "Trainer") in list("Pikachu", "Charmander"))
if("Pokemon")
switch(input("Which Pokemon do you wish to be?", "Pokemon") in list("Pikachu", "Charmander", "Bulbasaur", "Squirtle", "Eevee", "Pidgeot", "Treecko", "Torchic", "Mudkip", "None"))