From 055a8778bc0b8cd87709af7517c5955bcc8f898c Mon Sep 17 00:00:00 2001 From: brianluau Date: Sat, 2 May 2009 20:23:30 +0000 Subject: - Fixed some typos in the script command documentation. (bugreport:2547) - Fixed a misleading message in the custom Job Changer. (bugreport:682) - Updated some NPC's facing directions. (bugreport:3030) - Added missing newline in some ShowWarning(). (bugreport:2940) - Fixed SC_BOSSMAPINFO time being off by 1 minutes (bugreport:3035) Now, the seconds are rounded up to the next whole minute. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13713 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/script_commands.txt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'doc/script_commands.txt') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 9a41db7ee..1599058c8 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -2048,7 +2048,7 @@ Lets say the ID of a party was saved as a global variable: --------------------------------------- -*getpartymember ,{}; +*getpartymember {,}; Thank you to HappyDenn for all this information. @@ -2112,7 +2112,7 @@ Example: --------------------------------------- -*getpartyleader(,{}); +*getpartyleader({,}); This function returns some information about the given party-id's leader. When type is ommitted, the default information retrieved is the leader's name. @@ -3856,7 +3856,7 @@ Example: getnameditem "Apple","Aaron"; //Self-explanatory (I hope). - if (getnameitem("Apple,"Aaron")) { + if (getnameitem("Apple","Aaron")) { mes "You now have a Aaron's Apple!"; } @@ -5939,10 +5939,14 @@ to query the server log tables. --------------------------------------- -*setitemscript(,<"{ new item script }">); +*setitemscript(,<"{ new item script }">{,}); Set a new script bonus to the Item. Very useful for game events. -You can remove an item's itemscript by leaving empty the itemscript argument. +You can remove an item's itemscript by leaving the itemscript argument empty. +Type can optionally be used indicates which script to set (default is 0): + 0 - Script + 1 - OnEquip_Script + 2 - OnUnequip_Script Example: -- cgit v1.2.3-70-g09d2