mob/verb/Newchar()
set hidden = 1
slot = input("Select a slot to create a new character in(old ones will be overwritten if selected)", "New Character", slot) in list("Nevermind",1,2,3,4)
if(slot == "Nevermind")
slot = 0
return
else
// client.Load()
winshow(src, "newload", 0)
winshow(src, "default", 1)
..()
I get this runtime error:
<font color=green>
runtime error: bad client
proc name: Newchar (/mob/verb/Newchar)
usr: Darkjohn66 (/mob)
src: Darkjohn66 (/mob)
call stack:
Darkjohn66 (/mob): Newchar()
</font color=green>
Give players whatever input options you want. Then, pass the result of that input to the save or load procedure. That's it. No switch statements, nothing fancy, just two lines of code.