Multi-Switch statements in Developer Help
|
|
Code:
Delete_Turf(turf in world) set category = "Admin" switch(alert("Are you sure you want to delete [src]?","Confirmation","Yes","No")) if("No") usr << "You changed your mind!" if("Yes") usr << "Be positive!" switch(alert("Again...I ask. Do you want to delete it!?!?!?!","LAST CHANCE!","NO!","Yes!")) if("Yes!") del(turf) if("NO!") usr << "Now, be careful next time!"
|
Problem description:
I want it so only if you press "Yes" the first time the popup comes up.....BUT no matter what it does!
|