From fa0b6b57f01f2ff360a633e5b5620998b7c4a9c6 Mon Sep 17 00:00:00 2001 From: Dastgir Date: Sat, 16 Jan 2016 20:29:35 +0530 Subject: Script Standardization: changed select format in custom folder --- npc/custom/itembind.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'npc/custom/itembind.txt') diff --git a/npc/custom/itembind.txt b/npc/custom/itembind.txt index d1f2b59c9..f64225800 100644 --- a/npc/custom/itembind.txt +++ b/npc/custom/itembind.txt @@ -18,13 +18,13 @@ prontera,144,174,4 script Bound Items 4_M_JP_MID,{ mes "With this, you can rest assured your items are safe."; next; mes "What would you like to do?"; - if(select("Bind:Unbind") == 1) { + if(select("Bind", "Unbind") == 1) { if(Zeny < .bindprice) { mes "You don't have enough zeny to bind an item."; close; } mes "What kind of bind?"; - .@boundtype = 1 << (select("Account:Guild:Character")-1); + .@boundtype = 1 << (select("Account", "Guild", "Character")-1); if(.@boundtype == 2 && (!getcharid(2) || getguildmaster(getcharid(2)) != strcharinfo(0))) { mes "In order for me to bind an item to a guild you must be the master of one."; close; @@ -47,14 +47,14 @@ prontera,144,174,4 script Bound Items 4_M_JP_MID,{ .@item = .@bindlist[select(.@bindlist$)-2]; next; mes "Before I continue, I want you to know I can't tell the difference between multiple items. If you have a specific item you want bounded, please remove any duplicates from inventory."; - if(select("I understand, continue:Wait a minute") == 2) { + if(select("I understand, continue", "Wait a minute") == 2) { next; mes "I'll be here when you're ready."; close; } next; mes "Are you sure you'd like to bind your "+ getitemname(@inventorylist_id[.@item]) +" to your "+.boundtypes$[.@boundtype]+"?"; - if(select("Yes:No") == 1) { + if(select("Yes", "No") == 1) { Zeny -= .bindprice; delitem2 @inventorylist_id[.@item],@inventorylist_amount[.@item],@inventorylist_identify[.@item],@inventorylist_refine[.@item],@inventorylist_attribute[.@item],@inventorylist_card1[.@item],@inventorylist_card2[.@item],@inventorylist_card3[.@item],@inventorylist_card4[.@item]; getitembound2 @inventorylist_id[.@item],@inventorylist_amount[.@item],@inventorylist_identify[.@item],@inventorylist_refine[.@item],@inventorylist_attribute[.@item],@inventorylist_card1[.@item],@inventorylist_card2[.@item],@inventorylist_card3[.@item],@inventorylist_card4[.@item],.@boundtype; @@ -94,14 +94,14 @@ prontera,144,174,4 script Bound Items 4_M_JP_MID,{ } } mes "Before I continue, I want you to know I can't tell the difference between multiple items. If you have a specific item you want unbounded, please remove any duplicates from inventory."; - if(select("I understand, continue:Wait a minute") == 2) { + if(select("I understand, continue", "Wait a minute") == 2) { next; mes "I'll be here when you're ready."; close; } next; mes "Are you sure you'd like to unbind your "+ getitemname(@inventorylist_id[.@item]) +"?"; - if(select("Yes:No") == 1) { + if(select("Yes", "No") == 1) { Zeny -= .unbindprice; delitem2 @inventorylist_id[.@item],@inventorylist_amount[.@item],@inventorylist_identify[.@item],@inventorylist_refine[.@item],@inventorylist_attribute[.@item],@inventorylist_card1[.@item],@inventorylist_card2[.@item],@inventorylist_card3[.@item],@inventorylist_card4[.@item]; getitem2 @inventorylist_id[.@item],@inventorylist_amount[.@item],@inventorylist_identify[.@item],@inventorylist_refine[.@item],@inventorylist_attribute[.@item],@inventorylist_card1[.@item],@inventorylist_card2[.@item],@inventorylist_card3[.@item],@inventorylist_card4[.@item]; -- cgit v1.2.3-60-g2f50