Normalize alert() calls

This commit is contained in:
Aronai Sieyes
2021-06-25 14:27:14 -04:00
parent 8a3971a37e
commit 70bff20384
102 changed files with 1424 additions and 1427 deletions
@@ -24,7 +24,7 @@ GLOBAL_PROTECT(VVpixelmovement)
if (!subtypes || !subtypes.len)
return FALSE
if (subtypes && subtypes.len)
switch(alert("Strict object type detection?", "Type detection", "Strictly this type","This type and subtypes", "Cancel"))
switch(alert(usr, "Strict object type detection?", "Type detection", "Strictly this type","This type and subtypes", "Cancel"))
if("Strictly this type")
return FALSE
if("This type and subtypes")
@@ -98,7 +98,7 @@ GLOBAL_PROTECT(VVpixelmovement)
L += var_value
if(IS_VALID_ASSOC_KEY(var_value))
switch(alert("Would you like to associate a value with the list entry?",,"Yes","No"))
switch(alert(usr, "Would you like to associate a value with the list entry?","List VV","Yes","No"))
if("Yes")
L[var_value] = mod_list_add_ass(O) //hehe
if (O)