this is my script but how do i put an alert in there saying "do you want to equip it?" and the 2 choices are Yes or No. If yes it would raise my usr defence if no then it says sumthin to the usr....
obj
Armor
LArmor
icon = 'armor.dmi'
icon_state = "larmor"
verb
Get()
set src in oview(1)
del src.
Copyright © 2025 BYOND Software.
All rights reserved.
Armor
LArmor
icon = 'armor.dmi'
icon_state = "larmor"
verb
Get()
set src in oview(1)
switch(alert("Equip")in list("Yes","No"))
if("Yes")
//do equipping stuff here
else
usr<<"//what to say"
del src.