From 5cca96bf950bcd9586ab04f0e0f2b5d9a556c5e0 Mon Sep 17 00:00:00 2001 From: Kisuka Date: Wed, 9 Mar 2011 12:50:24 +0000 Subject: * Merged changes from trunk [14688:14739/trunk]. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14740 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/script_commands.txt | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index edca5e037..6afc94444 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -4,7 +4,7 @@ //= A reference manual for the eAthena scripting language. //= Commands are sorted depending on their functionality. //===== Version =========================================== -//= 3.35.20110106 +//= 3.37.20110306 //========================================================= //= 1.0 - First release, filled will as much info as I could //= remember or figure out, most likely there are errors, @@ -155,6 +155,10 @@ //= Spellcheck. [Ai4rei] //= 3.35.20110106 //= Removed bug warning from 'deletearray'. [Ai4rei] +//= 3.36.20110219 +//= Added 'buyingstore' command. [Ai4rei] +//= 3.37.20110306 +//= Added 'searchstores' command. [Ai4rei] //========================================================= This document is a reference manual for all the scripting commands and functions @@ -4423,6 +4427,39 @@ Example(s): //The invoked character will no longer automatically equip a falchion. autoequip 1104,0; +--------------------------------------- + +*buyingstore ; + +Invokes buying store preparation window like the skill 'Open Buying Store', +without the item requirement. Amount of slots is limited by the server to +a maximum of 5 slots by default. + +Example: + + // Gives the player oppurtunity to buy 4 different kinds of items. + buyingstore 4; + +--------------------------------------- + +*searchstores ,; + +Invokes the store search window, which allows to search for both vending +and buying stores. Parameter uses indicates, how many searches can be +started, before the window has to be reopened. Effect value affects, +what happens, when a result item is double-clicked and can be one of the +following: + + 0 = Shows the store's position on the mini-map and highlights the + shop sign with yellow color, when the store is on same map + as the invoking player. + 1 = Directly opens the shop, regardless of distance. + +Example: + + // Item Universal_Catalog_Gold (10 uses, effect: open shop) + searchstores 10,1; + --------------------------------------- // 4,1.- End of item-related commands @@ -6098,7 +6135,7 @@ illustration without displaying a new one, an empty file name and position 255 must be used. // Displays the Comodo Kafra illustration in lower right corner. - cutin "kafra_7",2; + cutin "kafra_07",2; // Typical way to end a script, which displayed an illustration during a // dialog with a player. -- cgit v1.2.3-70-g09d2