summaryrefslogtreecommitdiff
path: root/npc/custom/itembind.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/custom/itembind.txt')
-rw-r--r--npc/custom/itembind.txt12
1 files changed, 6 insertions, 6 deletions
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];