From 2ee02684c08bd57ae8562c2194f161f95fe96000 Mon Sep 17 00:00:00 2001 From: Lupus Date: Sat, 24 Feb 2007 22:12:54 +0000 Subject: merged dancer quest from trunk, updated script doc git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9911 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/script_commands.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index a4e67e79d..df602367d 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -9,7 +9,7 @@ //= Maeki Rika - A section on general concepts and lots of //= other updates and additions. //===== Version =========================================== -//= 3.02.20070209 +//= 3.03.20070226 //========================================================= //= 1.0 - First release, filled will as much info as I could //= remember or figure out, most likely there are errors, @@ -63,6 +63,8 @@ //= Expanded/clarified information on npc timers, added info about the //= new attach flag for script commands startnpctimer/ stopnpctimer/ //= initnpctimer [Skotlex] +//= 3.03.20070226 +//= Updated makeitem and how to include " in strings [Lupus] //===== Compatible With =================================== //= LOL, can be used by anyone hopefully //===== Description ======================================= @@ -577,6 +579,10 @@ or a function to set something, it's usually preferable to use that instead. The notable exception is Zeny, which you can and often will address directly - setting it will make the character own this number of zeny. +Strings +------- + +To include symbol '"' in a string you should use prefix '\"' Arrays @@ -2354,7 +2360,7 @@ when you want to check item cards or if it's signed. Useful for such quests as -------------------------------------- -* getitemslots (); +*getitemslots (); Returns the amount of slots the item has. @@ -3704,7 +3710,7 @@ Example: } --------------------------------------- - +!!!!!!!!!!!!!!! *makeitem ,,,,""; *makeitem "",,,,""; @@ -3720,6 +3726,7 @@ specified location. This item will still disappear just like any other dropped item. Like 'getitem', it also accepts an 'english name' field from the database and creates apples if the name isn't found. +If the map name is given as "this", the map the invoking character is on will be used. --------------------------------------- -- cgit v1.2.3-70-g09d2