summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-08 01:55:58 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-08 01:55:58 +0000
commit12c59ee92f231545497b901bf16fee77f080bfea (patch)
treea5ac684163795a0ab89a1164066c5ea3fe7d75a9 /doc/script_commands.txt
parentf325738db0ff69176476cac7f11e0460bfdbcba4 (diff)
downloadhercules-12c59ee92f231545497b901bf16fee77f080bfea.tar.gz
hercules-12c59ee92f231545497b901bf16fee77f080bfea.tar.bz2
hercules-12c59ee92f231545497b901bf16fee77f080bfea.tar.xz
hercules-12c59ee92f231545497b901bf16fee77f080bfea.zip
- Fixed some missing max levels for npc skills
- Expanded isloggedin script command to support an optional argument (char id) - Expanded warpparty command to accept target "Leader", this will warp the party to the leader. - Added a summon structure to handle non-dead-branch mob-groups since the current implementation totally fails for mob groups that don't have MANY integrants - Fixed mobs not attempting an IDLE skill right before unlocking a target. - Removed a useless variable in the pet_data structure git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10961 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt15
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index fee717683..1bf9c5b88 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -2876,10 +2876,10 @@ account ID.
-------------------------
-*isloggedin(<account id>)
+*isloggedin(<account id>{,<char id>});
This function returns 1 if the specified account is logged in and 0 if they
-aren't.
+aren't. You can also pass the char_id to check for both account and char id.
---------------------------------------
@@ -3235,7 +3235,16 @@ See also 'warp'.
Warps a party to specified map and coordinate given the party ID, which you can get with
getcharid(1). You can also request another party id given a member's name with getcharid(1,<player_name>).
-
+
+You can use the following "map names" for special warping behaviour:
+Random: All party members are randomly warped in their current map (as if they
+ all used a fly wing)
+SavePointAll: All party members are warped to their respective save point.
+SavePoint: All party members are warped to the save point of the currently
+ attached player (will fail if there's no player attached).
+Leader: All party members are warped to the leader's position. The leader must
+ be online and in the current map-server for this to work.
+
Example:
mes "[Party Warper]";
mes "Here you go!";