| insert_item | (item_id, item_count [, item_enhance, item_level, item_flag]) | inserts an item with specified values into function caller's inventory | Item |
| insert_item_target | (item_id, item_count [, item_enhance, item_level, item_flag]) | inserts an item with specified values into target-characters inventory | Item |
| insert_item_near | (item_id, item_count [, item_enhance, item_level, item_flag]) | Adds an item to all players around a selected target | Item |
| insert_item_all | (parameters) | description | Item |
| delete_item | (item_handle, count) | removes an item with specified item handle from function caller's inventory | Item |
| putoff_item | (item_handle) | Unequip item with targeted handle | Item |
| is_erasable_item | (item_handle) | gets a value representing if its possible to erase an item from character's inventory using destroy or etc | Item |
| find_item | (item_code) | gets count of specified items by its code in function caller's inventory.Returns items count | Item |
| drop_item | (X, Y, layer, item_id, count) | drops amount of items on a ground on specified ingame coodinates | Item |
| drop_gold | (X, Y, count) | drops amount of gold on a ground on specified ingame coodinates | type |
| insert_gold | (count [, charname]) | adds a specified value of gold to a specified character | type |
| has_item | (item_code [, charname]) | gets a value represents if character | Item |
| get_item_handle | (item_code) | gets a handle of a first item in function caller's inventory with specified item code | Item |
| get_item_handle_list | (item_code) | gets a list of handles of items with specified item code.Returns a table! | Item |
| get_item_name | (item_handle) | gets a string name of an item with specified handle | Item |
| get_item_code | (item_handle) | gets an item code from its handle | Item |
| get_item_level | (item_handle) | gets a level of a specified item | Item |
| set_item_level | (item_handle, value) | sets a level value for an item with specified handle | Item |
| set_item_enhance | (item_handle, value) | sets an enhance level value for an item with specified handle | Item |
| set_item_enhance_fail | (item_handle) | Breaks a handled item as enhance-fail | Item |
| get_item_enhance | (item_handle) | gets an enhance level of a specified item | Item |
| get_item_grade | (item_handle) | gets a grade of a specified item | Item |
| get_item_rank | (item_handle) | gets a rank of a specified item | Item |
| get_item_price | (item_handle) | gets a price of a specified item | Item |
| get_item_endurance | (item_handle) | gets an endurance time for a specified item | Item |
| set_item_endurance | (item_handle, time) | sets an endurance time for a specified item | Item |
| get_socket_info | (item_handle, socket_num) | gets a socket_x(as socket_num) value of an item with specified handle | Item |
| set_socket_info | (item_handle, socket_num, socket_value) | sets a socket info for a specified item(0-3 for soulstones,1-5 for belts) | Item |
| set_item_element | (item_handle,shard_code) | Sets a shard with specified code on a handled item | Item |
| set_item_element_parameter | (item_handle,type (1= p.atk,2=matk),value) | Sets additional damage on a handled item | Item |
| get_item_name_by_code | (item code) | string containing name of an item with specified code | Item |
| get_item_name_id | (item_code) | gets a name_id value from dbo.ItemResource for the specified item | Item |
| get_wear_item_handle | (wear_type) | gets a handle of currently equipped item on a function caller with specified wear type (see column wear_type in dbo.ItemResource) | Item |
| get_item_appearance_code | (item_handle) | get the item apperance id | Item |
| set_item_appearance_code | (item_handle, new_shape_item_id) | change the item's apperance to a new shape | Item |
| insert_awaken | (item_handle,5,5) | Inserts 5 awakening-stats to an equipment | Item |
| delete_awaken | (item_handle) | deletes the awaken stats of an item | Item |
| identify_item | (item_handle,preset_id) | identifies an item with a specific preset_id | Item |
| insert_summon_by_summon_id | (summon_id) | description | Creature |
| insert_summon | (parameters) | description | Creature |
| insert_summon_by_monster_id | (parameters) | description | Creature |
| change_item_code | (item_handle,new_item_code) | Exchanges an item with an other code | Item |
| get_item_random_option | (item_handle,effect_line)[array_item](1= effect_type,2 = opt_type,3 = opt_value) | description | Item |
| set_item_random_option | (item_handle,effect_line,effect_type,opt_type,opt_value) | Sets a custom random-effect on chosen identified equip | Item |
| pick_item_in_drop_group | (dropgroup_id) | Returns a table with a random item of the selected dropgroup with random amount related to its entry | Item |
| get_item_ethereal_durability | (item_handle) | gets current durability value of an item | Item |
| set_item_ethereal_durability | (item_handle, durability) | sets a durability count for an item | Item |
| get_max_item_ethereal_durability | (item_handle) | gets a maximum item ethereal durability | Item |
| show_soulstone_craft_window | ([charname]) | shows a soulstone craft window to a character | Soulstone |
| get_item_soulstone_endurance | (item_handle) | Returns soulstone-endurance of an item | Soulstone |
| get_max_item_soulstone_endurance | (item_handle) | Returns maximal soulstone-endurance of an item | Soulstone |
| show_soulstone_repair_window | ([charname]) | shows a soulstone repair window to a character | Soulstone |
| refresh_event_drop | ([id]) | refresh event item drop with specified ID or the whole table if got nil parameter | Event |
| start_event_drop | (ID) | starts event drop with specified ID from EventItemDropInfo | Event |
| stop_event_drop | (ID) | stop event drop with specified ID from EventItemDropInfo | Event |
| start_event_dungeon_droprate | () | Adds multiplier to drop to droprate from: dbo.EventDungeonDropRate | Event |
| stop_event_dungeon_droprate | () | Stops event dungeon drops | Event |
| refresh_event_dungeon_droprate | (parameters) | description | Event |
| event_supply | (parameters) | description | Event |
| refresh_event_supply | (parameters) | description | Event |
| start_event_supply | (parameters) | description | Event |
| stop_event_supply | (parameters) | description | Event |
| supply_event_item | (parameters) | description | Event |
| ss | () | gets all values of a function caller stored in dbo.Character | server |
| cs | () | Calculates the span between the function-caller and the selected object | Control |
| get_target_value | (type [, charname]) | gets a value of a target of a character which name is given by parameter charname | Value |
| gtv | (type [, charname]) | gets a value of a target of a character which name is given by parameter charname | Value |
| get_handle_value | (handle, value_type) | returns a value of a specific handle | Value |
| ghv | (handle, value_type) | (get_handle_value) returns a value of a specific handle | Value |
| get_value | (type [, charname]) | gets a specified type value which is a member of StructPlayer of character | Value |
| add_value | (parameter,value[,Charactername]) | Adds a value of specified parameter | Value |
| add_exp_jp | (exp [, jp] [, charname]) | adds (or removes if negative value) specified experience (and job points if parameter is given) to a character | Value |
| set_value | (parameter,value[,Charactername]) | Sets a value of specified parameter | Value |
| echo_value | (type [,charname]) | works same as get_value() function, but returns string in format: "* type: value". | Value |
| gv | (type [, charname]) | gets a specified type value which is a member of StructPlayer of character | Value |
| av | (parameter,value[,Charactername]) | Adds a value of specified parameter | Value |
| sv | (parameter,value[,Charactername]) | Sets a value of specified parameter | Value |
| ev | (type [,charname]) | works same as get_value() function, but returns string in format: "* type: value". | Value |
| get_all_value | (charname) | gets a list of types with a value for each type as member of StructPlayer of specified character | Value |
| set_creature_value | (handle, type, value) | sets a value for one of members of StructSummon for specified creature | Creature-Value |
| get_creature_value | (handle, type) | gets a type-specified value of a handle-specified creature. Type is a string representing one of members of StructSummon. Int32! | Creature-Value |
| change_creature_name | (creature handle, name) | sets new name to a creature with specified handle | Creature-Value |
| scv | (handle, type, value) | sets a value for one of members of StructSummon for specified creature | Creature-Value |
| smcv | (type, value [, charname]) | sets a value for a main currently summoned creature of a specified character | Creature-Value |
| gcv | (handle, type) | gets a type-specified value of a handle-specified creature. Type is a string representing one of members of StructSummon. int32! | Creature-Value |
| gmcv | (type [, charname]) | gets a value from a main currently summoned creature of a specified character | Creature-Value |
| emcv | (type [, charname]) | works same as gmcv, but returns string in format "* type: value" | Creature-Value |
| get_flag | (flag_name) | gets a value of existing character's flag | Character-Flag |
| set_flag | (flag_name, value) | inserts a flag to character's flag_list or update a flag if it exists | Character-Flag |
| del_flag | (flag_name) | removes a character's flag. Character flags are stored in flag_list of a character in dbo.Character table.(max flaglist 1024) | Character-Flag |
| get_account_flag | (flag_name) | Returns the value for a specified account-flag of function-caller. | Account-Flag |
| set_account_flag | (flag_name,value) | Sets the value for a specified account-flag of function-caller | Account-Flag |
| del_account_flag | (flag_name) | Deletes a specified account-flag of function-caller | Account-Flag |
| set_pk_mode | (value [, charname]) | sets a PK mode of a specified character(0 off,1 on) | PK |
| is_alliance_leader | ([charname]) | returns 0 if character function caller is not alliance leader, 1 if it is | Guild |
| increase_max_alliance_member_count | (parameters) | description | Guild |
| get_max_alliance_member_count | (parameters) | description | Guild |
| dlg_title | (title_string) | sets a title for contacted NPC in contact window | NPC-Contact |
| dlg_text | (text) | shows NPC contacting text in NPC dialog. Goes after dlg_title and before dlg_menu's | NPC-Contact |
| dlg_menu | (menu_text, script_text) | adds a dialog menu points with script that will run on click at this menu. Goes after dlg_title and dlg_text | NPC-Contact |
| dlg_show | () | shows an NPC dialog constructed by npc title, text and menu | NPC-Contact |
| quest_text_without_quest_menu | (parameters) | description | Quest |
| dlg_text_without_quest_menu | (text) | shows NPC dialog ignoring NPC's and dont show it in menu | Quest |
| start_quest | (parameters) | description | Quest |
| force_start_quest | (quest_id, quest_description_string) | starts a quest by function caller ignoring any data if its progress | Quest |
| add_pending_quest | (parameters) | description | Quest |
| end_quest | (quest_id, reward_id [, charname]) | an attempt to end a specified quest and insert a specified reward ID to a specified character | Quest |
| drop_quest | (quest_id [, charname]) | drops a quest with specified ID from quests that are currently in progress by specified character | Quest |
| quest_info | (quest_id, description_string_id [, charname]) | shows an info of a quest with specified description to a specified character | Quest |
| show_quest_info_without_npc | (parameters) | description | Quest |
| get_quest_progress | (quest_id [, charname ]) | gets a value which represents quest completion progress value(-1 not existing, 0 not started,1 in progress,2 can get reward,100 aborted,255 already closed) | Quest |
| get_quest_status | (quest_id, status_id [, charname]) | gets a specified status of a specified quest. Doesnt print value as itself | Quest |
| set_quest_status | (quest_id, status_id, value [, charname]) | sets a value for specified status of a quest.Statuses are stored in a dbo.Quest table as statusX | Quest |
| get_last_accept_quest | ([charname]) | gets an ID of a last accepted quest of a specified character | Quest |
| reset_finished_quest | (quest_id) | resets all data about a quest and allow a function caller character to start it again | Quest |
| dlg_general | (text) | textbox with a text message to a function caller | Window |
| dlg_special | (window_type(confirm_window), confirm_script, text) | shows a window with some text to a function caller and runs a confirm_script when function caller clicks confirm button | Window |
| force_unregister_account | (account_name) | Erases a player from RAM. (no table affection) | System |
| env | (environmental_variable) | see get_env | Environment-Variable |
| add_npc | (x, y, npc_id, count [,lifetime,layer]) | used especially for spawning monsters without its respawn after death, returns an array of monster handles. | Monster |
| add_instance_dungeon_monster | (parameters) | description | Instance |
| add_npc_to_world | (x, y, npc_id) | spawns an NPC on a specified position | NPC |
| add_field_prop | (prop_id, time, x, y , layer, offset, rotate_x, rotate_y, rotate_z, scale_x, scale_y, scale_z) | spawns clickable prop on a map (fieldprops are stored in dbo.FieldPropResource in a database) | Fieldprop |
| respawn | ( spawn_id ,interval , x_min, y_min, x_max, y_max, monster_id , min_count , max_count ) | spawns a monster randomly is square specified by coordinates x_min, y_min, x_max, y_max. | Monster |
| respawn_guardian | (dungeon_id, guardian_type, interval, x, y, mob_id, count, is_wandering) | respawns environmental guardians in a siege instance of spcified dungeon(0=Core,1=Control unit 1,2= Control unit 2) | Monster |
| respawn_environmental_guardian | (dungeon_id, guardian_type, interval, x, y, mob_id, count, is_wandering) | respawns environmental guardians in a siege instance of spcified dungeon(0=Core,1=Control unit 1,2= Control unit 2) | Monster |
| respawn_rare_mob | (roaming_id, interval(sec*100), x, y, mob_id, count, is_wandering(0 if not)) | Spawns a monster on a map. Doesnt work after initializing acceptor (means only before server will be ready to play on it). So function could be run only from on_server_init() function | Monster |
| respawn_roaming_mob | (roaming_id,monster_id,direction(winkel),Distance_to_roaming_line[,reaction_interval]) | Respawn of a roaming monster with specific roaming-id | Monster |
| raid_respawn | (parameters) | description | Monster |
| raid_respawn_rare_mob | (parameters) | description | Monster |
| set_random_respawn | (random_respawn_id, interval, random_area_id, inc, is_wandering(1 = walks, 0 = dont), way_point_id(???, 0 by default), prespawn_count(count of mobs as prespawned, means 1 if it spawned first, then starts an interval countdown, or 0 if it must be spawned in interval based time after spawn starts), except_raid_siege(1 if it should not appear in siege/raid)) | creates a random monsters respawn with specified interval between monster death and respawn in a specified random area | Monster |
| add_random_area | (random_spawn_id, min_x, min_y, max_x, max_y) | creates a random area for monsters respawn. There are more than one random area could be created with same ID but different coordinate.Every monster spawned by a specified spawn id will randomly appear in one of these areas by its random coordinates inside an area | Monster |
| add_random_monster | (random_spawn_ID, monster_ID, ratio(1% = 1000000)) | adds a monster to a monsters spawn list for the specified random monsters spawn | Monster |
| add_random_monster_group | (parameters) | description | Monster |
| kill_target | ([charname]) | Kills a target of a scpecified character | Control |
| get_os_time | (<table>) | gets current system time as a count of seconds after 01 Jan 1970 00:00 UTC | Control |
| get_os_date | () | gets a string with current system date. Doesnt print value as itself | Control |
| tt | (parameters) | description | unknown |
| get_minute | () | Return the current minute-number of gameserver to next hour. | Control |
| private_notice | (text) | shows a notice only to a function caller | Message |
| announce | (text) | shows a text as a notice with green color | Message |
| whisper | (charname, text) | shows a text as a notice only to a specified character | Message |
| recall_player | (charname[,target_name]) | teleports a specified character to a function caller character without any confirmation from recalled character side | Teleport |
| is_in_siege_dungeon | (parameters) | description | Siege/Raid |
| respawn_guardian_object | (parameters) | description | Siege/Raid |
| show_dungeon_stone | (dungeon_id [, charname]) | shows a dungeon stone menu of a specified dungeon to a character | Siege/Raid |
| change_tactical_position_owner | (parameters) | description | Siege/Raid |
| request_dungeon_raid | (parameters) | description | Siege/Raid |
| cancel_dungeon_raid | (parameters) | description | Siege/Raid |
| enter_secret_dungeon | (dungeon ID) | teleports a function caller character to a secret dungeon of a specified dungeon | Dungeon-Enter |
| enter_instance_dungeon | (instance_dungeon_id [, charname]) | teleports a character to a specified instance dungeon and run dungeon enter scripts | Dungeon-Enter |
| enter_other_instance_dungeon | (dungeon_id, floor, next_floor, current_item_count, next_item_count) | shows a dialog box that let you choose to stay in this floor or go to the next floor ( it's currently used in volcanus dungeon ) | Dungeon-Enter |
| leave_instance_dungeon | (instance_dungeon_id) | shows a confirmation window with a choice to leave instance dungeon or not | Dungeon-Leave |
| quit_instance_dungeon | (instance_dungeon_id [, charname]) | teleports a character to a revive position if character (or function caller if charname parameter is nil) located in specified dungeon | Dungeon-Leave |
| get_instance_dungeon_id | ([charname]) | gets an instance dungeon ID where character is currently located | Instance-Dungeon |
| get_instance_dungeon_type_id | (instance_dungeon_id, layer) | gets an instance type id for specified instance dungeon on specified layer | Instance-Dungeon |
| set_instance_dungeon_flag | (instance_dungeon_id, layer, flag_name, value ) | sets a value for instance dungeon layer's flag with specified name | Instance-Dungeon |
| get_instance_dungeon_flag | (instance_dungeon_id, layer, flag_name ) | gets an instance dungeon flag. Every instance dungeon has a local flags list on every layer | Instance-Dungeon |
| get_alive_instance_respawn_group_monster_count | (instance_dungeon_id, layer, respawn_group) | gets a boolean value representing how much monsters is still alive from specified monsters respawn group(respawn_group column in dbp.InstanceDungeonMonsterRespawnResource) of a specified instance dungeon on a specified layer | Instance-Dungeon |
| do_each_player_in_instance_dungeon | (instance_dungeon_id, layer, script_text) | runs a script handled to every player in specified instance dungeon on a specified layer | Instance-Dungeon |
| send_mission_title | (text, charname) | Display window and set title.Removes window if the text is empty | Instance-Dungeon |
| send_mission_reward | (text, charname) | Display reward window | Instance-Dungeon |
| send_mission_objective | (status_id, max_value, text, name) | Set objective | Instance-Dungeon |
| send_mission_objective_progress | (status_id, value, name) | Update the objective window | Instance-Dungeon |
| broadcast_mission_title | (1[?], text, instance_id, layer) | Set or update title for all the player in instance layer | Instance-Dungeon |
| broadcast_mission_reward | (1[?], text, instance_id, layer) | Set or update reward for all the player in instance layer | Instance-Dungeon |
| broadcast_mission_objective | (1[?], status_id, max_value, text, instance_id, layer) | Set objective for all the player in instance layer | Instance-Dungeon |
| broadcast_mission_objective_progress | (1?, status_id, value, instance_id, layer) | Update objective progress for all the player in instance layer | Instance-Dungeon |
| broadcast_notice | (instance_type, text, instance_id[,layer[,team]) | Broadcasts a notice for a specified instance. instance type can be 1 for instance&2 for battle arena, instance_id in case of a battle arena is the arena_id, team is team number in case it's in battle arena | Instance-Dungeon |
| activate_battle_arena_prop | (parameters) | description | Battle-Arena |
| set_battle_arena_instance_flag | (parameters) | description | Battle-Arena |
| get_battle_arena_instance_flag | (parameters) | description | Battle-Arena |
| do_each_player_in_battle_arena_instance | (arena_id, instance_no, script_text) | runs a script handled to every player on specified arena instance | Battle-Arena |
| do_each_player_in_battle_arena_team | (arena_id, instance_no, team_no, script_text) | runs a script handled to every member of a specified team on specified arena instance | Battle-Arena |
| get_battle_arena_block_time | (charname) | battle arena block time of a specified character in seconds | Battle-Arena |
| set_battle_arena_block_time | (time in seconds, charname) | sets battle arena block time to a specified character | Battle-Arena |
| get_battle_arena_penalty_count | (parameters) | description | Battle-Arena |
| set_battle_arena_penalty_count | (parameters) | description | Battle-Arena |
| get_battle_arena_next_penalty_dec_time | (parameters) | description | Battle-Arena |
| set_battle_arena_next_penalty_dec_time | (parameters) | description | Battle-Arena |
| get_battle_arena_team_no | ([charname]) | gets a battle arena team number of a specified character | Battle-Arena |
| set_secroute_free_pass | ( 1, time [,charname]) | Sets a specified HV Pass time. Time is set in ms. if chanrame is not given, function caller is used | HV-Pass |
| set_chat_block_time | (charname, time) | Mutes a player for a specified time. Time is set in minutes. | Control |
| set_invisible | (value[,name]) | sets the character invisible or visible (1 for invisible,0 for visible) | Control |
| set_level | (level[,charname]) | Sets a specified Level to a character | Value |
| enter_dungeon | (dungeon_id [, charname]) | warps a player with specified name or a function caller if a name is not given to a dungeon with specified ID | Dungeon-Enter |
| warp_to_stored_position | ([Charname]) | teleports a character to revive position. Revive position X and Y is stored in character flags "rx" and "ry" | Teleport |
| drop_dungeon_owner_ship | () | removes an ownership data of a dungeon which is already by own of a function caller's guild | Dungeon |
| change_dungeon_owner | (dungeon_id, guild_id) | force changes a relation of a specified dungeon to own by specified guild | Dungeon |
| clear_dungeon_core_guardian | (parameters) | description | Dungeon |
| get_own_dungeon_id | ([charname]) | gets dungeon ID that is owned by a guild where player exists | Dungeon |
| get_siege_dungeon_id | ([charname]) | gets dungeon ID that is under siege by a guild where player exists | Dungeon |
| stat | (Charname) | prints character's name, client's IP and ingame coordinates. Works if a character is online | Control |
| setspeed | (value) | sets the speed of a character | Value |
| saveall | () | saves all data stored in a memory to a database | Server |
| shutdown | (countdown[,need dump]) | shut the srver down with saving all the data after a couple of seconds set by cooldown, if need dump is set to 1 it creates a dmp-file - if it's 0 (default value) then it doesn't | Server |
| delete_block_account | (parameters) | description | Server |
| save | ([charname]) | saves player data in a database. If parameter is not given, saves a data of a function caller character | Server |
| respawn_near_monster | (monster_handle, spawn_monster_id, count) | spawns monsters with specified spawn_monster_id and specified count near monster that has monster_handle | unknown |
| monster_skill_cast | (skill_id, monster_handle, target_handle) | casts a skill with its ID in a database by a handled monster to a handled monster target | Monster |
| get_monster_skill_target_position | (parameters) | description | Monster |
| set_monster_skill_target_position | (parameters) | description | Monster |
| set_next_attackable_time | (delay, monster_handle) | sets a delay before continue an attack for a monster with specified handle.Works only with monster handle given by default stored functions | Monster |
| get_monster_id | (monster_handle) | gets a monster ID by its handle. Monster handle is given only by several functions stored by default | Monster |
| db_trace_dump | () | Function builds current database on-work query trace dump in text format into Log folder in format: DB_Debug_year-month-day.log | Server |
| force_monster_proc_dead | (parameters) | description | Monster |
| open_market | (market_name [, charname]) | opens a specified market for character | Market |
| gametime | () | gets "engine.ar_time" env value | Control |
| refresh | ([refresh_type]) | reading all the data from DB again(allowed_commands_list,etc,item,quest,monster,skill,script,string,scheduled_command) | Server |
| learn_skill | (skill_id) | insert a skill with specified ID if it does not exit or increase its level by 1 if it does | Skill-Character |
| learn_all_skill | ([charname]) | learns all skills of a specified character and sets him to Level 300 | Skill-Character |
| learn_creature_all_skill | ([form_slot ] [, charname]) | learns all skills and increases a level of a creature to maximum for curren evo(0 for all, 1 for first etc) | Skill-Creature |
| reset_skill | (job_level [, charname]) | resets all skills for specified job level for specified character(0-main,1-1st,2-2nd,3-Master-Class) | Skill-Character |
| set_job | (parameters) | description | Job |
| reset_job | (parameters) | description | Job |
| set_race | (race_id [, charname]) | sets a race of specified character(3,4,5;gaia,Deva,Asura) | Job |
| get_base_skill_level | (skill_id) | gets a current level of a specified skill of a function caller character | Skill |
| show_creature_dialog | ([charname]) | shows a creature form window to a specified character | window |
| sconv | (text[,text,text...]) | concatenates client strings with string functions and given string parameters following the client strings format | Control |
| message | (text) | prints a specified text to a function caller | Message |
| is_changeable_job | (parameters) | description | unknown |
| add_state | (state_id, state_power, state_time[, charname]) | description | Buff |
| get_state_level | (state_id [, charname]) | gets a state power of a state with specified ID of a character | Buff |
| remove_state | (state_id, state_power[, charname]) | removes a state with specified ID and power from a specified character | Buff |
| rs2 | () | Removes all non-permanent buffs from the function caller | Buff |
| add_cstate | (state_id, state_power, state_time[, charname]) | gives a state with specified ID and power to a character's main summon creature | Buff |
| remove_cstate | (state_id, state_power[, charname]) | removes state with specified ID and power from a character's main summon creature | Buff |
| add_event_state | (state_id, state_power) | gives a specified state with specified power to all characters currently in game until state will be removed by remove_state function | Buff |
| remove_event_state | (state_id, state_power) | removes already given event state with specified ID and power | Buff |
| clear_event_state | () | removes all of event states already given on a server | Buff |
| get_event_state_list | () | gets a list of all currently added event states in a format: ID power.Returns string containing list of states | Buff |
| cast_world_state | (state_id, state_level, state_time) | gives a specified state with specified power and expiration time to all characters currently in game | Buff |
| set_env | (env_name, value) | insert an environmental value with specified name or update it if it does already exist in a server memory. | Environment-Variables |
| get_env | (env_name) | gets an environmental value of an emulation by its env_name. Environmental values are stored in .eop | Environment-Variables |
| set_global_variable | (variable_name, value) | inserts a global variable with specified name and value into server memory and a database asynchronously or update it if it does already exist | Global-Variables |
| get_global_variable | (variable_name) | gets a global variable with specified name from a server memory | Global-Variables |
| del_global_variable | (variable_name) | deletes a global variable with specified name from a server memory and from a database | Global-Variables |
| get_string | (parameters) | description | Control |
| get_creature_handle | (form_slot [, charname]) | gets a handle of a creature which is located in specified slot of a character(starts with 0!) | Creature |
| open_storage | ([charname]) | opens a warehouse for a character | Storage |
| get_user_count_near | (parameters) | description | Control |
| create_guild | (guild_name) | an attempt to create a guild with specified name and set a function caller character as its leader | Guild |
| destroy_guild | (guild_id) | destroy a guild with specified ID | Guild |
| show_guild_create | ([charname]) | shows an guild creation window to character | Guild |
| show_alliance_create | ([charname]) | shows an alliance creation window to character | Guild |
| force_change_guild_name | (guild_id, new_name) | replaces a guild name of a guild with specified guild_id to a string value set in new_name | Guild |
| force_promote_guild_leader | (guild ID, character ID) | force promotes guild leadership to specified character | Guild |
| check_valid_guild_name | (guild_name) | Checks validity of a string guild_name to be used as guild name | Guild |
| create_alliance | (alliance_name) | creates an alliance with specified name and sets a current function caller's guild as a leader of an alliance | Guild |
| destroy_alliance | () | an attempt to destroy alliance where player exists | Guild |
| check_valid_alliance_name | (alliance_name) | checks validity of a string alliance_name to be used as alliance name.Returns 2 or 4 if the name is valid | Guild |
| get_npc_id | () | used only in contact scripts. gets an ID of NPC which has been contacted by a contact function caller character | NPC |
| get_npc_name | () | returns the name_text_id of the last contacted NPC | NPC |
| get_npc_type | () | returns the text_id of the last contacted NPC | NPC |
| get_npc_handle | ([charname]) | gets a handle value of last contacted NPC by a specified player | NPC |
| creature_evolution | (handle) | set the next evolution level for a creature with given handle. Returns Returns 1 if succeed | Creature |
| creature_enhance | (slot,enhance) | Sets a specified enhance on a creature in your formation (slots starting with 0!) | Creature |
| call_lc_In | (parameters) | description | Location |
| creature_learn_skill | (skill_id, get_creature_value(creature_handle, "handle"), charname) | specified creature learns specified skill | Skill-Creature |
| get_proper_channel_num | (parameters) | description | Channel |
| get_min_channel_num | (parameters) | description | Channel |
| get_max_channel_num | (parameters) | description | Channel |
| get_user_count_in_channel | (parameters) | description | Channel |
| get_layer_of_channel | (parameters) | description | Channel |
| get_summon_name_id | (parameters) | description | Creature |
| equip_summon_card | (card_item_code [, charname]) | moves first found tamed summon card to a form window of a specified character | Item |
| show_channel_set | ([charname]) | shows a channel set window to a specified character or a function caller if charname parameter is not given.Channel IDs are stored in dbo.ChannelResource table | Channel |
| update_guild_info | (parameters) | description | Guild |
| update_guild_banner_info | (parameters) | description | Guild |
| is_guild_leader | ([charname]) | gets an info is character a leader of his guild. Doesnt show value as itself. Returns 1 if a character is a leader or 0 if not | Guild |
| set_guild_block_time | (value [,charname]) | sets a guild block time in seconds for a character | Guild |
| get_guild_block_time | ([Charname]) | gets a time to remove guild entering block of a character.Returns time in sec | Guild |
| get_own_guild_name | (dungeon_id) | gets a name of a guild that wons a dungeon with dungeon_id. Doesnt print a returned value as itself | Guild |
| get_dungeon_relation | (dungeon_id) | gets a dungeon relation type to a function caller's guild | Guild |
| get_tax_rate | (dungeon_id) | gets a gold-chaos tax value of specified dungeon. Doesnt print a value as itself | Dungeon |
| set_tax_rate | (dungeon_id, percents) | sets a tax rate for gold and chaos for a specified dungeon in %.Doesnt work even for gameserver permissions if a function caller is not a dungeon owning guild leader.Percents value could be from 1 to 10.Requires to call tax_rate_adjust(dungeon_id) by the same handler to update a value | Dungeon |
| get_tax_amount | () | gets a value of current gold got by tax on an owned dungeon score | Dungeon |
| get_tax_chaos_amount | () | gets a value of current laks got by tax on an owned dungeon score | Dungeon |
| draw_tax | () | transfers all gold stored in a dungeon counter got by dungeon tax to a function caller gold.Requires save() or update_gold_chaos() function call to update gold value.Returns 0 if there was no gold got from tax score or if access denied in case character is not a dungeon owning guild leader | Dungeon |
| draw_tax_chaos | () | transfers all chaos stored in a dungeon counter got by dungeon tax to a function caller laks score.Requires save() or update_gold_chaos() function call to update laks value.Returns 0 if there was no laks got from tax score or if access denied in case character is not a dungeon owning guild | Dungeon |
| add_chaos | (amount[,Charname]) | Adds a specific chaos-value to a character of function-caller | Value |
| add_way_point | (parameters) | description | Monster |
| set_way_point_type | (parameters) | description | Monster |
| set_way_point_speed | (parameters) | description | Monster |
| recall_feather | (charname) | shows a call reather window to a character. After confirm, character which name is given in parameter will be teleported to a function caller character | Teleport |
| warp_to_revive_position | ([charname]) | teleports a character to revive position. Revive position X and Y is stored in character flags "rx" and "ry" | Teleport |
| get_server_category | () | gets a server category value | Server |
| find_npc | () | Find NPC and return its handle | NPC |
| set_auto_account | (parameters) | description | Control |
| clear_auto_account | (parameters) | description | Control |
| open_url | (url, 0[?]) | opens a web page with url given in parameter (not an env value, simply url) to a function caller character | Window |
| open_popup | (url_env_name, 1[?], 0[?]) | opens a browser window with opened web link, which address is stored in environmental value, to a function caller character | Window |
| open_popup_and_set_size | ( url, width, height, get, 0? ) | open popup with custom size | Window |
| get_local_info | () | gets local server info | Server |
| update_gold_chaos | ([charname]) | updates gold and chaos values of a character in db | Server |
| show_donation_prop | ([charname]) | shows Altar of the Goddess donation prop window to a specified character | Donation |
| set_pcbang_user | (parameters) | description | Control |
| set_continuous_play_time | (parameters) | description | Control |
| get_creature_name_id | (creature_handle) | gets a string code (name_id in SummonResource) of creature name with given handle | Creature |
| creature_name_change_box | (creature_handle [, charname]) | Shows a creature name change box for creature with given handle to a character | Creature |
| reset_summon_skill | (creature_handle) | resets all skills of a creature which handle is given in parameter | Creature |
| fix_summon_jp | (parameters) | description | Creature |
| show_creature_farm_window | ([charname]) | shows a creature farm window to a character | Creature-Farm |
| get_summon_list | (parameters) | description | type |
| get_farmed_summon_list | (parameters) | description | type |
| get_farmed_summon_count | (parameters) | description | type |
| get_farmed_summon_value | (parameters) | description | type |
| get_farmed_summon_level | (parameters) | description | type |
| get_summon_rate | (summon ID) | returns rate of a summon got from SummonResource with specified ID in SummonResource | Creature |
| farm_summon | (parameters) | description | type |
| regain_summon | (parameters) | description | type |
| nurse_summon | (parameters) | description | type |
| open_title | (title_id [, charname]) | opens all requires to ahieve a title, but do not achieve a title for character | Title |
| achieve_title | (title_id [, charname]) | completes all requires to achieve a title and gives a title to a character | Title |
| get_main_title | ([charname]) | gets the main title ID | Title |
| set_main_title | (title_id [, charname]) | sets a specified title as a main title | Title |
| get_sub_title | (slot [, charname]) | get the sub title id | Title |
| set_sub_title | (slot[starting with 0],title_id [,charname]) | update the sub title id the title must be in the achieved title list so u can use it | Title |
| update_title_condition | (condition_type_id, value [, charname]) | sets a value for a title condition for character or to a function caller | Title |
| set_remain_title_time | (time in milisec) | update the remain time so you can change the main title | Title |
| show_auction_window | ([charname]) | Shows an auction window for function-caller or a character | Auction |
| cancel_auction_by_seller | (character_id) | Cancel all auction selling lots of a player | Auction |
| show_huntaholic_lobby_window | ([Charname]) | shows huntaholic lobby window for function-caller or a character, which name is given in parameter | Huntaholic |
| set_huntaholic_point | (count [, charname]) | Sets a huntaholic points count for a character or function-caller | Value |
| set_event_area_enter_count | (event_area_id, count) | sets an enter count for an event area event_area_id | Event-Area |
| get_event_area_enter_count | (event_area_id) | gets an enter count for an event_area_id | Event-Area |
| suicide | () | Crashs Gameserver | Server |
| set_scheduled_command_manager_priority | (parameters) | description | type |
| clear_inventory | () | Clears inventory of function-caller | Item |
| set_account_authority | (parameters) | description | Control |
| set_auto_user | (value, character_handle) | gives an autouser status to a specified character if value parameter is 1 and removes if 0. Autouser is a character that get a ban by teleporting to abyss and getting a strong debuff | Control |
| kick | ([Charname]) | Kicks a character from server | Control |