diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-05-02 20:23:30 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-05-02 20:23:30 +0000 |
commit | 055a8778bc0b8cd87709af7517c5955bcc8f898c (patch) | |
tree | 32d143836edcbd986560c681f7762156dc22dbd8 /doc/script_commands.txt | |
parent | 355f81a410eeb48e29d21574896f2fac02fc8a95 (diff) | |
download | hercules-055a8778bc0b8cd87709af7517c5955bcc8f898c.tar.gz hercules-055a8778bc0b8cd87709af7517c5955bcc8f898c.tar.bz2 hercules-055a8778bc0b8cd87709af7517c5955bcc8f898c.tar.xz hercules-055a8778bc0b8cd87709af7517c5955bcc8f898c.zip |
- 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
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 14 |
1 files changed, 9 insertions, 5 deletions
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 <party id>,{<type>}; +*getpartymember <party id>{,<type>}; Thank you to HappyDenn for all this information. @@ -2112,7 +2112,7 @@ Example: --------------------------------------- -*getpartyleader(<party id>,{<type>}); +*getpartyleader(<party id>{,<type>}); 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(<ItemID>,<"{ new item script }">); +*setitemscript(<item id>,<"{ new item script }">{,<type>}); 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: |