var/DeleteIt = alert(usr,"Would you like to delete this item?",,"Yes","No")
if(DeleteIt=="Yes")
del(i)
else
return
Problem description:
I want to get this line of code to run, however i want to use HUD objects. I am using forum_account's hud_group library.
The only thing i can really think of to get this to work would to be create somekind of loop that would wait for a hudobject with the name yes or no to be clicked. And when they are clicked it would act accordingly. However it doesnt seem like a simple thing to do, which i am finding so odd because the code itself is so simple.
Any help would be greatly appreciated.