mob
Login()
switch(input("Which gender do you want?","Create Character") in list ("Male","Female"))
if("Male") icon = 'Human-Warrior.dmi'
if("Female") icon = 'Human-WarriorF.dmi'
switch(input("icon?",("Create Character") in list ("1","2"))
if("1") var/obj/1/iconF = new()
if("2") var/obj/2/iconF = new()
src << sound('zekia.mid',1)
usr.loc = locate(25,25,1)
mob/Stat()
..()
statpanel("Status",iconF)
stat("Strength: ",Str)
stat("Agility: ",Agi)
stat("Vitality: ",Vit)
stat("Intelligence: ",Int)
stat("Exp: ",Exp.)
I get MISSING comma or right parents on line 8..where it says "IF("AEROTH")" and i'm not really missing that...what's wrong?? :(
yes...the obj 1 and 2 is settled with icons.
thx.
ID:177360
Sep 17 2002, 3:51 pm
|
|
switch(input("icon?",("Create Character") in list ("1","2")) This seems to be your problem. I don't know why you have a bracket before the "Create Character" string (a typo?), but just take that out and everything should work fine. :) switch(input("icon?","Create Character") in list ("1","2")) |
In response to Malver
|
|
ohhhh, cool!
thx :))) |
and if("2")
not ("aeroth")
thx.