gstorage_test.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /* Guild Warehouse Service Test-Script
  2. prontera,165,188,4 script Guild Warehouse 112,{
  3. cutin "kafra_06",2;
  4. mes "[Guild Warehouse Coupler]";
  5. mes "This is the guild warehouse coupler service.";
  6. mes "You will not receive zeny for this is a test.";
  7. next;
  8. menu "Access Guild Warehouse", GS_OPEN, "Exit", GS_EXIT3;
  9. GS_OPEN:
  10. set @flag,guildopenstorage(0);
  11. if(@flag == 1) goto GS_EXIT1;
  12. if(@flag == 2) goto GS_EXIT2;
  13. goto GS_EXIT4;
  14. GS_EXIT1:
  15. mes "[Guild Warehouse]";
  16. mes "The guild warehouse is being used right now.";
  17. mes "Please wait a while, then come back.";
  18. goto GS_EXIT4;
  19. GS_EXIT2:
  20. mes "[Guild Warehouse]";
  21. mes "You can't use this service if you're not in a guild!";
  22. goto GS_EXIT4;
  23. GS_EXIT3:
  24. mes "[Guild Warehouser]";
  25. mes "Come back whenever you want.";
  26. GS_EXIT4:
  27. cutin "kafra_06",255;
  28. close;
  29. }
  30. */
  31. // カプラギルド倉庫サービス テストスクリプト
  32. prontera,165,188,4 script ギルド倉庫カプラ 112,{
  33. cutin "kafra_06",2;
  34. mes"[ギルド倉庫カプラ]";
  35. mes "カプラギルド倉庫サービスです。";
  36. mes "毎度ご利用ありがとうございます♪";
  37. mes "テスト用なので金は貰いません。";
  38. next;
  39. menu "ギルド倉庫を利用する",GS_OPEN,"やっぱやめる",GS_EXIT3;
  40. GS_OPEN:
  41. set @flag,guildopenstorage(0);
  42. if(@flag == 1) goto GS_EXIT1;
  43. if(@flag == 2) goto GS_EXIT2;
  44. goto GS_EXIT4;
  45. GS_EXIT1:
  46. mes "ギルドメンバーが倉庫を使用中です。";
  47. mes "しばらく待ってから利用してください。";
  48. goto GS_EXIT4;
  49. GS_EXIT2:
  50. mes "ギルドに所属してない方は利用することができません。";
  51. goto GS_EXIT4;
  52. GS_EXIT3:
  53. mes "またのご利用をお待ちしています♪";
  54. GS_EXIT4:
  55. cutin "kafra_06",255;
  56. close;
  57. }