proc
CreateCharacter()
var
prompt_title = "New Character"
help_text = "What do you want to name the character?"
default_value = ""
char_name = input(src, help_text, prompt_title, default_value) as null|text
list/classes
while (char_name == "")
char_name = input(src, "Invalid name, please enter a name","Enter a name",default_value) as null|text
char_name = html_encode:(char_name)
Problem description:
Hey guys, I'm trying to update some old code to work with the new version of BYOND. Wondering if there's some pages about required code updates I could look for or if someone can give me an idea of how variables are suppose to be setup that would be cool. I'm getting an error on the last line here that says char_name is not a valid variable inside the html_encode proc.
createcharacter.dm:17:error: html_encode:: undefined var