summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/constants.md165
-rw-r--r--doc/sample/npc_rodex.txt4
-rw-r--r--doc/script_commands.txt150
3 files changed, 249 insertions, 70 deletions
diff --git a/doc/constants.md b/doc/constants.md
index 654e5eb64..a64d75152 100644
--- a/doc/constants.md
+++ b/doc/constants.md
@@ -3854,6 +3854,55 @@
- `HAT_EF_FSTONE`: 55
- `HAT_EF_MAGICCIRCLE`: 56
+### Achievement Types
+
+- `ACH_QUEST`: 0
+- `ACH_KILL_PC_TOTAL`: 1
+- `ACH_KILL_PC_JOB`: 2
+- `ACH_KILL_PC_JOBTYPE`: 3
+- `ACH_KILL_MOB_CLASS`: 4
+- `ACH_DAMAGE_PC_MAX`: 5
+- `ACH_DAMAGE_PC_TOTAL`: 6
+- `ACH_DAMAGE_PC_REC_MAX`: 7
+- `ACH_DAMAGE_PC_REC_TOTAL`: 8
+- `ACH_DAMAGE_MOB_MAX`: 9
+- `ACH_DAMAGE_MOB_TOTAL`: 10
+- `ACH_DAMAGE_MOB_REC_MAX`: 11
+- `ACH_DAMAGE_MOB_REC_TOTAL`: 12
+- `ACH_JOB_CHANGE`: 13
+- `ACH_STATUS`: 14
+- `ACH_STATUS_BY_JOB`: 15
+- `ACH_STATUS_BY_JOBTYPE`: 16
+- `ACH_CHATROOM_CREATE_DEAD`: 17
+- `ACH_CHATROOM_CREATE`: 18
+- `ACH_CHATROOM_MEMBERS`: 19
+- `ACH_FRIEND_ADD`: 20
+- `ACH_PARTY_CREATE`: 21
+- `ACH_PARTY_JOIN`: 22
+- `ACH_MARRY`: 23
+- `ACH_ADOPT_BABY`: 24
+- `ACH_ADOPT_PARENT`: 25
+- `ACH_ZENY_HOLD`: 26
+- `ACH_ZENY_GET_ONCE`: 27
+- `ACH_ZENY_GET_TOTAL`: 28
+- `ACH_ZENY_SPEND_ONCE`: 29
+- `ACH_ZENY_SPEND_TOTAL`: 30
+- `ACH_EQUIP_REFINE_SUCCESS`: 31
+- `ACH_EQUIP_REFINE_FAILURE`: 32
+- `ACH_EQUIP_REFINE_SUCCESS_TOTAL`: 33
+- `ACH_EQUIP_REFINE_FAILURE_TOTAL`: 34
+- `ACH_EQUIP_REFINE_SUCCESS_WLV`: 35
+- `ACH_EQUIP_REFINE_FAILURE_WLV`: 36
+- `ACH_EQUIP_REFINE_SUCCESS_ID`: 37
+- `ACH_EQUIP_REFINE_FAILURE_ID`: 38
+- `ACH_ITEM_GET_COUNT`: 39
+- `ACH_ITEM_GET_COUNT_ITEMTYPE`: 40
+- `ACH_ITEM_GET_WORTH`: 41
+- `ACH_ITEM_SELL_WORTH`: 42
+- `ACH_PET_CREATE`: 43
+- `ACH_ACHIEVE`: 44
+- `ACH_ACHIEVEMENT_RANK`: 45
+
## Hardcoded Constants (source)
@@ -3919,31 +3968,31 @@
- `AREA_WOC`: 4
- `AREA_WOSC`: 5
- `AREA_CHAT_WOC`: 6
-- `CHAT`: 7
-- `CHAT_WOS`: 8
-- `PARTY`: 9
-- `PARTY_WOS`: 10
-- `PARTY_SAMEMAP`: 11
-- `PARTY_SAMEMAP_WOS`: 12
-- `PARTY_AREA`: 13
-- `PARTY_AREA_WOS`: 14
-- `GUILD`: 15
-- `GUILD_WOS`: 16
-- `GUILD_SAMEMAP`: 17
-- `GUILD_SAMEMAP_WOS`: 18
-- `GUILD_AREA`: 19
-- `GUILD_AREA_WOS`: 20
-- `GUILD_NOBG`: 21
-- `DUEL`: 22
-- `DUEL_WOS`: 23
-- `SELF`: 24
-- `BG`: 25
-- `BG_WOS`: 26
-- `BG_SAMEMAP`: 27
-- `BG_SAMEMAP_WOS`: 28
-- `BG_AREA`: 29
-- `BG_AREA_WOS`: 30
-- `BG_QUEUE`: 31
+- `CHAT`: 8
+- `CHAT_WOS`: 9
+- `PARTY`: 10
+- `PARTY_WOS`: 11
+- `PARTY_SAMEMAP`: 12
+- `PARTY_SAMEMAP_WOS`: 13
+- `PARTY_AREA`: 14
+- `PARTY_AREA_WOS`: 15
+- `GUILD`: 16
+- `GUILD_WOS`: 17
+- `GUILD_SAMEMAP`: 18
+- `GUILD_SAMEMAP_WOS`: 19
+- `GUILD_AREA`: 20
+- `GUILD_AREA_WOS`: 21
+- `GUILD_NOBG`: 22
+- `DUEL`: 23
+- `DUEL_WOS`: 24
+- `SELF`: 25
+- `BG`: 26
+- `BG_WOS`: 27
+- `BG_SAMEMAP`: 28
+- `BG_SAMEMAP_WOS`: 29
+- `BG_AREA`: 30
+- `BG_AREA_WOS`: 31
+- `BG_QUEUE`: 32
### LOOK_ constants, use in setlook/changelook script commands
@@ -4237,11 +4286,22 @@
- `P_AIRSHIP_NONE`: 0
- `P_AIRSHIP_RETRY`: 1
-- `P_AIRSHIP_INVALID_START_MAP`: 2
+- `P_AIRSHIP_INVALID_START_MAP`: 4
- `P_AIRSHIP_INVALID_END_MAP`: 3
-- `P_AIRSHIP_ITEM_NOT_ENOUGH`: 4
+- `P_AIRSHIP_ITEM_NOT_ENOUGH`: 2
- `P_AIRSHIP_ITEM_INVALID`: 5
+### questinfo types
+
+- `QINFO_JOB`: 0
+- `QINFO_SEX`: 1
+- `QINFO_BASE_LEVEL`: 2
+- `QINFO_JOB_LEVEL`: 3
+- `QINFO_ITEM`: 4
+- `QINFO_HOMUN_LEVEL`: 5
+- `QINFO_HOMUN_TYPE`: 6
+- `QINFO_QUEST`: 7
+
### Renewal
- `RENEWAL`: 1
@@ -7412,6 +7472,10 @@
- `NG_BAPHOMET`: 2483
- `G_NG_BAPHOMET_`: 2484
- `NG_CHIMERA`: 2485
+- `FACEWORM_QUEEN`: 2529
+- `FACEWORM_QUEEN_G`: 2533
+- `FACEWORM_QUEEN_B`: 2534
+- `FACEWORM_QUEEN_Y`: 2535
- `IRENE_ELDER`: 2542
- `PAYONSOLDIER`: 2543
- `PAYONSOLDIER2`: 2544
@@ -7779,7 +7843,11 @@
- `FATAL_DAYS`: 2958
- `TORTUROUS_REDEEMER`: 2959
- `E_TORTUROUS_REDEEMER`: 2961
+- `XM_CELINE_KIMI`: 2996
+- `GRIM_REAPER_ANKOU`: 3029
- `TIMEHOLDER`: 3074
+- `E1_FELOCK`: 3181
+- `MM_SARAH`: 3190
- `ORGANIC_JAKK`: 3202
- `INORGANIC_JAKK`: 3203
- `DARK_SOUL`: 3381
@@ -12292,6 +12360,7 @@
- `High_Purity_Energy_Xtal`: 6625
- `Blacksmith_Blessing`: 6635
- `Poring_Badge`: 6646
+- `Broken_Horn`: 6649
- `Needle_And_Thread`: 6654
- `Firm_Pumpkin`: 6655
- `Goast_Free_Charm`: 6656
@@ -12313,6 +12382,7 @@
- `Sacred_Rosary`: 6913
- `Black_Soul`: 6914
- `Captured_Soul`: 6915
+- `Costume_Change_Ticket`: 6959
- `Mould_Powder`: 7001
- `Ogre_Tooth`: 7002
- `Anolian_Skin`: 7003
@@ -12951,6 +13021,7 @@
- `Father_Giftbox`: 7637
- `Tw_Green_Box`: 7638
- `Tw_Red_Box`: 7639
+- `Bloody_Coin`: 7642
- `RO_Luk_Bookmark`: 7646
- `Taiwan_Luk_Coin`: 7647
- `Snake_Bookmark`: 7648
@@ -13318,6 +13389,35 @@
- `Brownie_Egg`: 9060
- `Marin_Egg`: 9061
- `Novice_Poring_Egg`: 9062
+- `Mastering_Egg`: 9069
+- `Savage_Egg`: 9070
+- `Grand_Peco_Peco_Egg`: 9071
+- `High_Orc_Egg`: 9087
+- `Angeling_Egg`: 9088
+- `Am_Mut_Egg`: 9089
+- `Little_Isis_Egg`: 9090
+- `Choco_Egg`: 9091
+- `Eggring_Egg`: 9092
+- `Hyegun_Egg`: 9093
+- `Leaf_Lunatic_Egg`: 9094
+- `Nine_Tails_Egg`: 9095
+- `Cat_o_Nine_Tails_Egg`: 9096
+- `Diabolic_Egg_`: 9097
+- `Earth_Deleter_Egg`: 9098
+- `Teddy_Bear_Egg`: 9099
+- `Gremlin_Egg`: 9100
+- `Scatelon_Egg`: 9101
+- `Mummy_Egg`: 9102
+- `Willow_Egg`: 9103
+- `Roween_Egg`: 9104
+- `Hodremlin_Egg`: 9105
+- `Metaller_Egg`: 9106
+- `Ancient_Mummy_Egg`: 9107
+- `Abandoned_Teddy_Bear_Egg`: 9108
+- `Sweet_Drops_Egg`: 9109
+- `Phreeoni_Egg`: 9111
+- `Moonlight_Flower_Egg`: 9112
+- `Skelion_Egg`: 9113
- `Skull_Helm`: 10001
- `Monster_Oxygen_Mask`: 10002
- `Transparent_Headgear`: 10003
@@ -14296,6 +14396,7 @@
- `Peony_Mommy`: 12813
- `Slapping_Herb`: 12814
- `Yggdrasil_Dust`: 12815
+- `Old_Card_Album_`: 12817
- `High_Weapon_Box_`: 12818
- `Zherlthsh_Tck_Box_`: 12819
- `Mao_Guai_Scroll`: 12820
@@ -14511,6 +14612,7 @@
- `Octo_kitchen_Knife`: 13081
- `TE_Woe_Knife`: 13083
- `Goldsmithing_Dagger`: 13086
+- `FaceWormQueen_Leg`: 13090
- `RWC_Memory_Knife`: 13092
- `Thanos_Dagger`: 13093
- `Dagger_Of_Evil_Slayer`: 13094
@@ -15763,6 +15865,7 @@
- `Gray_Robe`: 15091
- `Airship_Armor`: 15116
- `Felock_Armor`: 15117
+- `Robe_Of_Sarah`: 15121
- `Whikebain_Suit`: 15123
- `Female_Poring_Balloon`: 15126
- `Female_Poring_Egg`: 15128
@@ -15907,7 +16010,9 @@
- `Red_Wing_Hat_Box`: 16461
- `FRed_Wing_Hat_Box`: 16462
- `My_Scroll2`: 16466
+- `Abrasive_Box_10`: 16483
- `E_Insurance_Package`: 16503
+- `Bubble_Gum_Box_10`: 16504
- `Xmas_Bless`: 16542
- `Snowman_Hat_Box`: 16543
- `FSnowman_Hat_Box`: 16544
@@ -17495,6 +17600,8 @@
- `Para_Team_Mark_`: 22508
- `Candy_Holder`: 22514
- `Key_Of_Twisted_Time`: 22515
+- `Closedmind_Box`: 22534
+- `PrizeOfHero`: 22537
- `Runstone_Lux`: 22540
- `HALLOWEEN_G_BOX`: 22669
- `DARK_INVITATION`: 22670
@@ -17517,8 +17624,10 @@
- `Bullet_Case_Stone`: 22748
- `Sanctified_Bullet_Case`: 22749
- `Buff_Gift_Set`: 22777
+- `Special_Gift_Box`: 22808
- `Integer_Time`: 22837
- `Something_Candy_Holder`: 22838
+- `Old_Money_Pocket`: 22876
- `T1_Shadow_Armor`: 24000
- `T1_Shadow_Weapon`: 24001
- `T1_Shadow_Shield`: 24002
@@ -17766,6 +17875,8 @@
- `S_Reload_Shield`: 24244
- `S_Reload_Armor`: 24245
- `Paradise_Foxtail_Staff_III`: 26101
+- `Faceworm_Queen_Card`: 27164
+- `Captain_Felock_Card`: 27182
- `Thanos_Katar`: 28000
- `Katar_Of_Evil_Slayer`: 28001
- `Half_BF_Katar2`: 28002
diff --git a/doc/sample/npc_rodex.txt b/doc/sample/npc_rodex.txt
index a808a1aa9..0975e609c 100644
--- a/doc/sample/npc_rodex.txt
+++ b/doc/sample/npc_rodex.txt
@@ -20,12 +20,12 @@ prontera,150,150,4 script Rodex Mail 1_M_01,{
// Sends a messsage to attached player "Account Box" from "Rodex Test", with title "Rodex Test3",
// with message "Hello World, How are You?", 1000 Zenies and 5 Red Potions attached
rodex_sendmail_acc(
- getcharid(CHAR_ID_CHAR), "Rodex Test", "Rodex Test3", "Hello World, How are You?",
+ getcharid(CHAR_ID_ACCOUNT), "Rodex Test", "Rodex Test3", "Hello World, How are You?",
1000,
Red_Potion, 5
);
- // Sends a messsage to attached player "Account Box" from "Rodex Test", with title "Rodex Test6",
+ // Sends a messsage to attached player from "Rodex Test", with title "Rodex Test6",
// with message "Hello World, How are You?", 1000 Zenies, 5 Red Potions and
// 1 +10 Knife[3] with 3 Poring Cards (Broken)
rodex_sendmail2(
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index a5624b82f..10b4e5653 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -2472,6 +2472,7 @@ arrays:
---------------------------------------
*readparam(<parameter number>{, "<player name>"})
+*readparam(<parameter number>{, <account id>})
This function will return the basic stats of an invoking character,
referred to by the parameter number. Instead of a number, you can use a
@@ -2510,6 +2511,21 @@ Example 3:
---------------------------------------
+*setparam(<parameter number>, <value>{, "<player name>"})
+*setparam(<parameter number>, <value>{, <account id>})
+
+Sets a parameter on the given player. See readparam() for more info about
+parameters. Keep in mind that not all read-able parameters are also set-able.
+
+Parameters that can be modified include:
+
+StatusPoint, BaseLevel, SkillPoint, Zeny, Sex, Weight, MaxWeight, JobLevel,
+BaseExp, JobExp, Hp, MaxHp, Sp, MaxSp, Karma, Manner, Fame, bVit, bDex, bAgi,
+bStr, bInt, bLuk
+
+
+---------------------------------------
+
*getcharid(<type>{, "<character name>"})
This function will return a unique ID number of the invoking character,
@@ -2755,7 +2771,9 @@ save points. Available information types are:
---------------------------------------
-*getcharip({"<character name>"|<account id>|<char id>})
+*getcharip({"<character name>"})
+*getcharip({<account id>})
+*getcharip({<character id>})
This function will return the IP address of the invoking character, or, if
a player is specified, of that character. A blank string is returned if no
@@ -3412,7 +3430,8 @@ behave specially when talked to by GMs.
---------------------------------------
-*setgroupid(<new group id>{, "<character name>"|<account id>})
+*setgroupid(<new group id>{, "<character name>"})
+*setgroupid(<new group id>{, <account id>})
This function will temporary adjust the id of player group the account to which the
player specified if the new group id is available.
@@ -4371,7 +4390,7 @@ offline in the mean time, attachrid() returns false, otherwise true.
---------------------------------------
-*rid2name(<rid>)
+*rid2name(<account id>)
Converts rid to name. Note: The player/monster/NPC must be online/enabled.
Good for PCKillEvent where you can convert 'killedrid' to the name of the
@@ -4615,13 +4634,12 @@ effects.
---------------------------------------
-*recovery()
-*recovery(<account id>)
+*recovery({<account id>})
*recovery("<map name>"{, <x1>, <y1>, <x2>, <y2>})
-In its first form, this command will revive and restore full HP and SP to all
-characters currently connected to the server. In its second form, it will only
-affect the target player. In its third form it will affect a whole map or area.
+This command will revive and restore full HP and SP to all characters currently
+connected to the server. If an account id is supplied, it will instead only
+affect this character. If a map is supplied it will affect a whole map or area.
---------------------------------------
@@ -5137,8 +5155,10 @@ Example:
close();
---------------------------------------
-*getnameditem(<item id>, <character name|character ID>)
-*getnameditem("<item name>", <character name|character ID>)
+*getnameditem(<item id>, "<character name>")
+*getnameditem(<item id>, <character ID>)
+*getnameditem("<item name>", "<character name>")
+*getnameditem("<item name>", <character ID>)
Create an item signed with the given character's name.
@@ -5302,7 +5322,7 @@ Check getitem2() to understand the arguments of the function.
---------------------------------------
-*groupranditem(<item_id/constant>)
+*groupranditem(<item id>)
Returns the item_id of a random item picked from the item container specified. There
are different item containers and they are specified in 'db/(pre-)re/item_group.conf'.
@@ -5312,7 +5332,7 @@ Example:
---------------------------------------
-*getrandgroupitem(<item_id/constant>, <quantity>)
+*getrandgroupitem(<item id>, <quantity>)
Similar to the above example, this command allows players to obtain the specified
quantity of a random item from the container. The different containers
@@ -6194,7 +6214,7 @@ Examples:
@ /!\ This command is deprecated @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-Prevents the player from moving when the option != 0, and 0 enables the
+Prevents the player from moving when the option != 0, and 0 enables the
player to move again. The player has to be the account ID of a character,
and will run for the attached player if zero is supplied.
@@ -6610,18 +6630,49 @@ Examples:
*unitwarp(<GID>, <Mapname>, <x>, <y>)
*unitattack(<GID>, <Target ID>)
*unitstop(<GID>)
-*unittalk(<GID>, <Text>)
+*unittalk(<GID>, <Text>{, show_name{, <send_target>{, <target_id>}}})
*unitemote(<GID>, <Emote>)
Okay, these commands should be fairly self explaining.
For the emotions, you can look in 'doc/constants.md' under 'Emotes'
PS: unitwarp() supports a <GID> of zero, which causes the executor of the
+PS: unittalk() can receive 3 extra parameters:
+ show_name:
+ true: Shows Unit name like "UnitName : Message" (default)
+ false: Hides Unit name
+ send_target:
+ AREA_CHAT_WOC: sends the message to everyone in view range including the attached unit (default)
+ SELF: sends the message to the given unit gid only
+ target_id:
+ if send_target is set to SELF, the message will be shown by the given gid,
+ target_id allows changing the unit that will see the message.
script to be affected. This can be used with OnTouchNPC to warp
monsters:
OnTouchNPC:
unitwarp(0, "this", -1, -1);
+ // hide the npc name from the text
+ unittalk(getnpcid(0), "foobar", false);
+
+ // display by npc to everyone
+ unittalk(getnpcid(0), "foobar", true);
+
+ // display by npc to npc
+ unittalk(getnpcid(0), "foobar", true, SELF);
+
+ // display the text by the npc to the attached player only
+ unittalk(getnpcid(0), "foobar", true, SELF, playerattached());
+
+ // display by player to everyone
+ unittalk(playerattached(), "foobar", true);
+
+ // display by player to himself only
+ unittalk(playerattached(), "foobar", true, SELF);
+
+ // display the text by the 1st player to the attached player only
+ unittalk(getcharid(CHAR_ID_ACCOUNT, "Name"), "foobar", true, SELF, playerattached());
+
---------------------------------------
*disablenpc("<NPC object name>")
@@ -6729,12 +6780,16 @@ A debug message also shows on the console when no events are triggered.
---------------------------------------
-*npctalk("<message>"{, "<npc name>"})
+*npctalk("<message>"{, "<npc name>"{, <show_name>}})
+
+show_npcname values:
+ true: shows npc name (default)
+ false: hide npc name
This command will display a message to the surrounding area as if the NPC
object running it was a player talking - that is, above their head and in
-the chat window. The display name of the NPC will get appended in front of
-the message to complete the effect.
+the chat window. If show_npcname is true the name of the NPC will get appended in front of
+the message, otherwise the npc name will not be shown.
// This will make everyone in the area see the NPC greet the character
// who just invoked it.
@@ -6822,12 +6877,12 @@ valid <type> for gettimer() are:
---------------------------------------
-*initnpctimer({ "<NPC name>" {, <Attach Flag>} } |
- { "<NPC name>" | <Attach Flag> })
-*stopnpctimer({ "<NPC name>" {, <Detach Flag>} } |
- { "<NPC name>" | <Detach Flag> })
-*startnpctimer({ "<NPC name>" {, <Attach Flag>} } |
- { "<NPC name>" | <Attach Flag> })
+*initnpctimer({"<NPC name>"{, <Attach Flag>}})
+*initnpctimer({<Attach Flag>})
+*stopnpctimer({"<NPC name>"{, <Detach Flag>}})
+*stopnpctimer({<Detach Flag>}})
+*startnpctimer({"<NPC name>"{, <Attach Flag>}})
+*startnpctimer({<Attach Flag>})
*setnpctimer(<tick>{, "<NPC name>"})
*getnpctimer(<type of information>{, "<NPC name>"})
*attachnpctimer({"<character name>"})
@@ -9281,12 +9336,10 @@ that fails, the command returns an empty string instead.
//=====================================
---------------------------------------
-*questinfo(<Quest ID>, <Icon> {, <Map Mark Color>{, <Job Class>}})
-
-This is esentially a combination of questprogress() and showevent(). Use this only
-in an OnInit label. For the Quest ID, specify the quest ID that you want
-checked if it has been started yet.
+*questinfo(<Icon> {, <Map Mark Color>})
+This is esentially a showevent() that supports different conditions that can be set using setquestinfo().
+Use this only in an OnInit label.
For Icon, use one of the following:
No Icon : QTYPE_NONE
@@ -9317,8 +9370,6 @@ the available color values are:
When a user shows up on a map, each NPC is checked for questinfo that has been set.
If questinfo is present, it will check if the quest has been started, if it has not, the bubble will appear.
-Optionally, you can also specify a Job Class if the quest bubble should only appear for a certain class.
-
Example
izlude,100,100,4 script Test 844,{
mes("[Test]");
@@ -9326,12 +9377,29 @@ Example
close();
OnInit:
- questinfo(1001, QTYPE_QUEST, 0, Job_Novice);
+ questinfo(QTYPE_QUEST);
end;
}
---------------------------------------
+*setquestinfo(<Type> {, <Values...>})
+
+Use this command ONLY after a questinfo()
+it allows you to set multiple required conditions for the quest bubble to show up.
+
+supported types: values
+ QINFO_JOB: job_id
+ QINFO_SEX: sex
+ QINFO_BASE_LEVEL: min, max
+ QINFO_JOB_LEVEL: min, max
+ QINFO_ITEM: item_id, amount // append to the items list on each use
+ QINFO_HOMUN_LEVEL: min
+ QINFO_HOMUN_TYPE: homunculus_type (0 - regular, 1 - evolved, 2 - S)
+ QINFO_QUEST: quest_id, state // append to the quests list on each use
+
+---------------------------------------
+
*setquest(<ID>{, <Time Limit>})
Place quest of <ID> in the users quest log, the state of which is "active".
@@ -9368,19 +9436,19 @@ Add quest of the <ID2> to the the quest log, and the state is "active".
---------------------------------------
-*questprogress(<ID>{, PLAYTIME|HUNTING})
+*questprogress(<ID>{, <type>})
If no additional argument supplied, return the state of the quest:
0 = Quest not started (not in quest log)
1 = Quest has been given
2 = Quest completed
-If parameter PLAYTIME is supplied:
+If <type> PLAYTIME is supplied:
0 = Quest not started (not in quest log)
1 = The time limit has not yet been reached
2 = The time limit has been reached
-If parameter HUNTING is supplied:
+If <type> HUNTING is supplied:
0 = Quest not started (not in quest log)
1 = Player hasn't killed all of the target monsters
2 = Player has killed all of the target monsters
@@ -9733,11 +9801,11 @@ true otherwise.
---------------------------------------
-*queueopt(<queue_id>, <optionType>, {Optional <option val>})
+*queueopt(<queue_id>, <optionType>{, <event label})
-Modifies <queue_id>'s <optionType>. When <option val> is not present
-<optionType> is removed from <queue_id>. When present it modifies
-<queue_id>'s <optionType> with the new <option val> value.
+Modifies <queue_id>'s <optionType>. When <event label> is not present
+<optionType> is removed from <queue_id>. When present it will execute the
+<event label> when the <queue_id>'s <optionType> condition is met.
Returns true on success, false on failure.
@@ -10022,7 +10090,7 @@ returns 1 on success, 0 on failure.
//=====================================
---------------------------------------
-*join_clan(<ClanID>{,<RID>})
+*join_clan(<ClanID>{, <account id>})
Joins a player into the given clan.
If no RID is given, will run with the current attached player.
@@ -10031,7 +10099,7 @@ returns true on success, false on failure.
---------------------------------------
-*clan_leave({<RID>})
+*clan_leave({<account id>})
Removes a player from its clan.
If no RID is given, will run with the current attached player.
@@ -10067,4 +10135,4 @@ the available flags are:
Opens the styling shop on client
---------------------------------------- \ No newline at end of file
+---------------------------------------