ID:156205
 
i want this so that u can talk to hidan and he wil gie u an akasuki suit

mob
Hidan
verb
Talk()
set src in oview(1)
switch(alert("here you go you are now and akasuki."))
usr.contents += new/obj/akasuki_suit

and for this i want so when u click the ite a box with 2 choses will come up and u click one then click ok and it will be that icon

obj
akasuki_suit
icon = 'Akasuki Coat.dmi'
layer = MOB_LAYER + 5
verb
switch(alert("How do you wish to wear it?", "Clothing", "Classic", "Uchiha")
if("Uchiha")
icon_state = "Uchiha"
usr.overlays += src

i am not sure how 2 fix them can u help me or pinte in to where i can fine out more about this
nvm i worked the frist one out but i will keep trying on the second
In response to Jamesy577
i really need help with the second coding
Please use DM Tags, they are very useful.
I commented next to change rows:
> obj
> akasuki_suit
> icon = 'Akasuki Coat.dmi'
> layer = MOB_LAYER + 5
> verb/wear_suit()//missing verb name
> set src in usr.contents //give access to the verb when in the contents
> switch(alert("How do you wish to wear it?", "Clothing", "Classic", "Uchiha")
> if("Uchiha")
> icon_state = "Uchiha"
> usr.overlays += src
In response to Pirion
that coding didn't work for some resone but i know where i went wrong now