Login()
icon_state = gender
/*var/ini_reader/IRead = new("Settings.ini", INIREADER_INI)
var/list/Dict = IRead.ReadSetting("motdi")
if( Dict )*/
//usr << Dict["motd"]
world << "[usr] has logged in."
if (fexists("saves/[copytext(ckey(src.key),1,2)]/[ckey(src.key)].sav") == 1)
var/savefile/si = new("saves/[copytext(ckey(src.key),1,2)]/[ckey(src.key)].sav")
si["HP"] >> HP
si["MHP"] >> MHP
si["MP"] >> MP
si["MMP"] >> MMP
si["wealth"] >> wealth
si["Level"] >> level
si["xp"] >> xp
si["str"] >> str
si["def"] >> def
si["adminlevel"] >> adminlevel
si["last_x"] >> hx
si["last_y"] >> hy
si["last_z"] >> hz
si["weapon"] >> weapon
si["helm"] >> helm
si["body"] >> body
si["legs"] >> legs
si["feet"] >> feet
si["cape"] >> cape
si["shield"] >> shield
si["ring"] >> neck
si["neck"] >> neck
if (adminlevel == 1)
GetAdmin(src)
..()
else
usr << "It appars this is your first time playing YOUR GAME NAME! Welcome!"
//put the code for first time users here.
Problem description:
Gives me these errors:
base.dm:125:error:usr:duplicate definition
base.dm:125:error:"It appars this is your first time playing YOUR GAME NAME! Welcome!":duplicate definition
base.dm:125:error:<< :instruction not allowed here
IS my compiler messed up?
To see your tabs, press Ctrl+T.