ID:847904
 
(See the best response by DarkCampainger.)
Code:
            src << mb_msgout("\n[worldname]\nLast Compile: 07-02-12 @ 09:00 PM EST")
src.name=input("Name:", "DragonBall Epic Login") as text
if(src.TextAbuseCheck(name))
src << mb_msgout("{YYour name must not start or end with a space nor can it be blank!{x")
del(src)
if(fexists("database/players/[name]/data.sav"))
var/savefile/F=new("database/players/[name]/data.sav")
var/gotit
F["Password"]>>gotit
var/pass=input("Password:", "DragonBall Epic Login") as text
if(pass==gotit)
Read(F)
src.ProcessLogin()
else
src << mb_msgout("{YIncorrect password!{x")
del(src)


Problem description:

Currently I'm working on a MUD for telnet and the input for some reason is case sensitive when looking for a file name how can i fix this?

for example if i have a character that exsists named ThunderZ

if i type thunderz it will ask me to create a new character.
nevermind im blind lowertext is a good approach lol.
Best response
If you always create and search for the file with the ckey+lowercase version of the name, you should be able to avoid that:

"database/players/[ckey(lowertext(name))]/data.sav"