summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-09-08 19:58:00 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-09-08 19:58:00 +0000
commit883bf494656473ac23f3e7087bbfa58a36b7ae3f (patch)
treeb1958d798c2a34b72c119b534207f23913839da7 /doc/script_commands.txt
parentf7f08f6551b94f5e9e1ce907fca6ed132ac814c7 (diff)
downloadhercules-883bf494656473ac23f3e7087bbfa58a36b7ae3f.tar.gz
hercules-883bf494656473ac23f3e7087bbfa58a36b7ae3f.tar.bz2
hercules-883bf494656473ac23f3e7087bbfa58a36b7ae3f.tar.xz
hercules-883bf494656473ac23f3e7087bbfa58a36b7ae3f.zip
* Updated Renewal 'Mjolnir' item (bugreport:6646)
* Updated slots on RWC 2008 Dragon Helms (bugreport:6645) * Other minor changes... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16765 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index bb2e10a4e..18abbfd2c 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -7386,10 +7386,10 @@ and max are optional parameters and doesn't need to be set. You will find below
little List for an explenation of what those values are for.
Values:
-Party ID : Party ID of the invoking character. [Required Parameter]
-amount : Amount of needed Partymembers for the Instance. [Optional Parameter]
-min : Minimum Level needed to join the Instance. [Optional Parameter]
-max : Maxium Level allowed to join the Instance. [Optional Parameter]
+Party ID: Party ID of the invoking character. [Required Parameter]
+amount: Amount of needed Partymembers for the Instance. [Optional Parameter]
+min: Minimum Level needed to join the Instance. [Optional Parameter]
+max: Maxium Level allowed to join the Instance. [Optional Parameter]
If no amount is given the Memorial Dungeon will of course at least need 1 Player to enter.
If no min Level requirement is given, the Player has at least to be Level 1 to enter the Memorial Dungeon.
@@ -7400,22 +7400,22 @@ but one of them is offline, the other Player won't be able to join the Memorial
Also, here are some examples of how this Command will work inside a script:
-if(instance_check_party(getcharid(1),2,2,149)){
+if (instance_check_party(getcharid(1),2,2,149)) {
mes "Ok, your party is complete and meets the Memorial Dungeons requirement.",
- mes "Members have a Baselevel between 1 and 150 and there are at least 2 Players inside the Party.";
+ mes "Members have a Baselevel between 1 and 150 and there are at least 2 Players inside the Party.";
close;
-}else{
+} else {
mes "Sorry, but it seems like your Party does not meet the Memorial Dungeon requirements.";
close;
}
You also can use set .@party_id,getcharid(1); for example to save the Players Party ID.
-if(instance_check_party(.@party_id,2,2,149)){
+if (instance_check_party(.@party_id,2,2,149)) {
mes "Ok, your party is complete and meets the Memorial Dungeons requirement.",
- mes "Members have a Baselevel between 1 and 150 and there are at least 2 Players inside the Party.";
+ mes "Members have a Baselevel between 1 and 150 and there are at least 2 Players inside the Party.";
close;
-}else{
+} else {
mes "Sorry, but it seems like your Party does not meet the Memorial Dungeon requirements.";
close;
}