ID:263736
 
Code: usr.hair = input("Select a Hairstyle for your character.",
"Your Hair",
usr.hair) in list("Naruto")src.overlays += icon('Icon.dmi',"IconName")



Problem description:The Shinobi's Vengeance.dm:421:error::missing expression

Um ok so im trying to make it os when u choose the hair "Naruto" it comes on ur head but its not working Help plz
1. Use the tags
2. Is this
icon('Icon.dmi',"IconName")
the actual path of your hair?
3. Try
mob
Login()
usr.hair = input("Select a Hairstyle for your character.","Your Hair") in list("Naruto")
if("Naruto")
src.overlays += icon('pathoffile.dmi',"iconstate")

and see if that works, M'kay?
In response to JaxxMarron
thnx but now i need it on this code


mob/var
hair
mob
Barber
icon = 'NPCS.dmi'
icon_state = "Hair Cutter"
verb/Talk()
set src in oview(1)
usr.hair = input("Would You like me to work magic to that ragid hair?",
"Your Hair",usr.hair) in list("Gaara")

but Whenever i try adding the overlay part i get a buch of errors so can u put it on for me much appreciated
In response to Dimone Jr
No, your problem is fairly simple and your just asking for a handout anyways.

Try using these for code...
< dm >

</dm>
Without the spaces...