mob/other/choosing_character/proc/CreateNewCharacter()
var/char_name = input("What would you like your name to be?","Name")as text
if(!char_name)
goto ChooseCharacter()
if(lentext(char_name) > 20)
src <<"Name too long."
goto /mob/other/choosing_character/proc/CreateNewCharacter
for(var/N in un_wanted_names && html)
if(findtext(char_name,N))
alert("That name is not allowed.","Name")
goto /mob/other/choosing_character/proc/CreateNewCharacter
else
src.name = html_encode(char_name)
var/ckey_name = ckey(char_name)
var/list/characters = CharacterList()
if (characters.Find(ckey_name))
alert("Nope, dont be a faka...")
src.CreateNewCharacter()
return
help_text = "What race do you wish to be?"
var/list/races = list("Human", "Saiyan", "Half-Saiyan", "Namekian", "Android (Biological)","Android (Mechanical)", "Changling")
default_value = "Human"
var/char_race = input(src, help_text, prompt_title, default_value) in races
var/mob/new_mob
switch(char_race)
Problem description:
new_char_handling.dm:144:error:help_text:undefined var
new_char_handling.dm:146:error:default_value:undefined var
new_char_handling.dm:147:error:help_text:undefined var
new_char_handling.dm:147:error:prompt_title:undefined var
new_char_handling.dm:147:error:default_value:undefined var
new_char_handling.dm:126:error:goto : bad link
new_char_handling.dm:123:error:CreateNewCharacter :jump failed
Here's a bit more that went with the name Demo...
var/list/html = list("<",">","font","size")
var
list
un_wanted_names = list("Crzylme") //my key is there just for a test
name_length
maximum_name_length_amount = 15 //set length
To tell you the truth, Yes it is Zeta ripped...
And... I'm having quite a bit of trouble making it part of the code.
But DON'T Tell me not to use Zeta coding... I'm staying with it and don't spam this telling me not to use it!
-=Edit=-
I got rid of most of the errors.... but the rest, I am totally confused on...
Then DON'T expect anybody to help you.
In my eyes, your post translates to, "I didn't put any effort into this code. In fact, I stole it, fully knowing that my actions were illegal. I can't clean up the mess that is Zeta, so could you please do it for me? Actually, while you're at it, could you program my entire game for me?".
[edit]
I'm sorry if this offended you at all, Crzylme, but really, you can't expect to get help when you're knowingly participating in an illegal activity. People work hard on their games: stealing is wrong.