ID:170501
 
hhmm... i cant seem to get my savefile working


save
save char()
save to file


I tried making it myself
Gogojackpot25 wrote:
hhmm... i cant seem to get my savefile working

<mob>
save
save char()
save to file


I tried making it myself

try this

</DM>
mob
var/first_name
var/last_name

Login()
// Do they have a name yet?
// If not, make them choose one.
while (!first_name)
first_name = input(src, "What is your first name?", "First Name")

while (!last_name)
last_name = input(src, "What is your last name?", "Last Name")

name = "[first_name] [last_name]"

src << "Your name is [name]."
return ..()
</DM>
In response to Mrwinkles
ill try it thnx =)
In response to Mrwinkles
ummmmm, thats actually like a rename thing, not a SAVE code
In response to Gogojackpot25
Gogojackpot25 wrote:
ill try it thnx =)

Hey am new with this 2... it worked with me...

but look here is the file go to http://developer.byond.com/hub/Deadron/SimpleSaving
In response to Mrwinkles
Well, if you really would want to you can look some saving variables in both the guide and refrence. You would probably want save obj as well. Also, this topic of mine would give you some example what I looked up. http://developer.byond.com/forum/ index.cgi?action=message_read&id=322625&forum=3&view=0