From c116ea51790a6d42280cf599192614dc373cf91d Mon Sep 17 00:00:00 2001 From: Lance Date: Sun, 19 Nov 2006 04:46:50 +0000 Subject: Updated scripts with select().. THERE ARE TONS OF THEM!! Will somebody give me a hand or something? :B git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9259 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/airports/airships.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'npc/airports') diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt index ab5826fac..b6e43c727 100644 --- a/npc/airports/airships.txt +++ b/npc/airports/airships.txt @@ -856,6 +856,7 @@ function script applegamble { mes "in a friendly game of Dice?"; next; switch(select("Play Dice Game:Learn Dice Game Rules:Cancel")){ + case 255: case 3: mes "["+getarg(0)+"]"; mes "I'm up for a game of"; @@ -937,7 +938,7 @@ L_Input: mes "betting ^FF0000"+@amount+"^000000 Apples."; mes "Is that right?"; next; - if(select("Yes:No")==2){ + if(select("Yes:No")==2 || @menu == 255){ mes "["+getarg(0)+"]"; mes "Mm, made a mistake?"; mes "Alright, please enter the"; @@ -1043,6 +1044,9 @@ L_Input: mes "luck next time."; } close; + } else { + if(@menu == 255) + end; } mes "^0000FF*Rolling and rumbling*"; set @player3,rand(1,6); -- cgit v1.2.3-60-g2f50