root/npc/sample/gstorage_test.txt @ 11

Revision 1, 1.6 kB (checked in by jinshiro, 17 years ago)
Line 
1/* Guild Warehouse Service Test-Script
2prontera,165,188,4      script  Guild Warehouse 112,{
3        cutin "kafra_06",2;
4
5        mes "[Guild Warehouse Coupler]";
6        mes "This is the guild warehouse coupler service.";
7        mes "You will not receive zeny for this is a test.";
8        next;
9        menu "Access Guild Warehouse", GS_OPEN, "Exit", GS_EXIT3;
10
11GS_OPEN:
12        set @flag,guildopenstorage(0);
13        if(@flag == 1) goto GS_EXIT1;
14        if(@flag == 2) goto GS_EXIT2;
15        goto GS_EXIT4;
16
17GS_EXIT1:
18        mes "[Guild Warehouse]";
19        mes "The guild warehouse is being used right now.";
20        mes "Please wait a while, then come back.";
21        goto GS_EXIT4;
22
23GS_EXIT2:
24        mes "[Guild Warehouse]";
25        mes "You can't use this service if you're not in a guild!";
26        goto GS_EXIT4;
27
28GS_EXIT3:
29        mes "[Guild Warehouser]";
30        mes "Come back whenever you want.";
31
32GS_EXIT4:
33        cutin "kafra_06",255;
34        close;
35}
36*/
37
38// ƒJƒvƒ‰ƒMƒ‹ƒh‘qŒÉƒT[ƒrƒX     ƒeƒXƒgƒXƒNƒŠƒvƒg
39prontera,165,188,4      script  ƒMƒ‹ƒh‘qŒÉƒJƒvƒ‰        112,{
40        cutin "kafra_06",2;
41
42        mes"[ƒMƒ‹ƒh‘qŒÉƒJƒvƒ‰]";
43        mes "ƒJƒvƒ‰ƒMƒ‹ƒh‘qŒÉƒT[ƒrƒX‚Å‚·B";
44        mes "–ˆ“x‚²—˜—p‚ ‚肪‚Æ‚€‚²‚Ž‚¢‚Ü‚·ô";
45        mes "ƒeƒXƒg—p‚Ȃ̂ŋà‚Í–á‚¢‚Ü‚¹‚ñB";
46        next;
47        menu "ƒMƒ‹ƒh‘qŒÉ‚ð—˜—p‚·‚é",GS_OPEN,"‚â‚Á‚Ï‚â‚ß‚é",GS_EXIT3;
48
49GS_OPEN:
50        set @flag,guildopenstorage(0);
51        if(@flag == 1) goto GS_EXIT1;
52        if(@flag == 2) goto GS_EXIT2;
53        goto GS_EXIT4;
54
55GS_EXIT1:
56        mes "ƒMƒ‹ƒhƒƒ“ƒo[‚ª‘qŒÉ‚ðŽg—p’†‚Å‚·B";
57        mes "‚µ‚΂炭‘Ò‚Á‚Ä‚©‚ç—˜—p‚µ‚Ä‚­‚Ÿ‚³‚¢B";
58        goto GS_EXIT4;
59
60GS_EXIT2:
61        mes "ƒMƒ‹ƒh‚ÉŠ‘®‚µ‚ĂȂ¢•û‚Í—˜—p‚·‚邱‚Æ‚ª‚Å‚«‚Ü‚¹‚ñB";
62        goto GS_EXIT4;
63
64GS_EXIT3:
65        mes "‚Ü‚œ‚Ì‚²—˜—p‚ð‚š‘Ò‚¿‚µ‚Ä‚¢‚Ü‚·ô";
66
67GS_EXIT4:
68        cutin "kafra_06",255;
69        close;
70}
Note: See TracBrowser for help on using the browser.