$client->AccountID()$client->AccountName()$client->AddAAPoints(uint32 points)$client->AddAlternateCurrencyValue(uint32 currency_id, int32 amount)$client->AddCrystals(uint32 radiant_count, uint32 ebon_count)$client->AddEXP(uint32 experience_points)$client->AddLevelBasedExp(uint8 exp_percentage, uint8 max_level = 0, bool ignore_mods = false)$client->AddMoneyToPP(uint32 copper, uint32 silver, uint32 gold, uint32 platinum, bool update_client)$client->AddPVPPoints(uint32 points)$client->AddSkill(int skill_id, uint16 value)$client->Admin()$client->AssignTask(int task_id, int npc_id, [bool enforce_level_requirement = false])$client->AssignToInstance(uint16 instance_id)$client->AutoSplitEnabled()$client->BreakInvis()$client->CalcPriceMod(mob*, [bool reverse = false])$client->CanHaveSkill(int skill_id)$client->ChangeLastName(string last_name)$client->CharacterID()$client->CheckIncreaseSkill(int skill_id, int chance_modifier = 0)$client->CheckSpecializeIncrease(uint16 spell_id)$client->ClearCompassMark()$client->ClearZoneFlag(uint32 zone_id)$client->Connected()$client->DecreaseByID(uint32 type, unit8 amount)$client->DeleteItemInInventory(int16 slot_id, [int8 quantity = 0], [bool client_update = false])$client->Disconnect()$client->DropItem(int16 slot_id)$client->Duck()$client->DyeArmorBySlot(uint8 slot, uint8 red, uint8 green, uint8 blue, [uint8 use_tint = 0x00])$client->Escape()$client->ExpeditionMessage(int expedition_id, string message)$client->FailTask(int task_id)$client->FindMemmedSpellBySlot(int slot)$client->ForageItem()$client->GMKill()$client->GetAAExp()$client->GetAALevel(uint32 aa_skill_id)$client->GetAAPercent()$client->GetAAPoints()$client->GetAccountFlag(string flag)$client->GetAggroCount()$client->GetAllMoney()$client->GetAlternateCurrencyValue(uint32 currency_id)$client->GetAnon()$client->GetAugmentAt(uint32 slot, uint32 aug_slot)$client->GetAugmentIDAt(int16 slot_id, int16 aug_slot)$client->GetBaseAGI()$client->GetBaseCHA()$client->GetBaseDEX()$client->GetBaseFace()$client->GetBaseINT()$client->GetBaseRace()$client->GetBaseSTA()$client->GetBaseSTR()$client->GetBaseWIS()$client->GetBecomeNPCLevel()$client->GetBindHeading(int index = 0)$client->GetBindX(int index = 0)$client->GetBindY(int index = 0)$client->GetBindZ(int index = 0)$client->GetBindZoneID(int index = 0)$client->GetCarriedMoney()$client->GetCharacterFactionLevel(int32 faction_id)$client->GetClientVersion()$client->GetClientVersionBit()$client->GetCorpseCount()$client->GetCorpseID(uint8 corpse)$client->GetCorpseItemAt(uint32 corpse_id, uint16 slot_id)$client->GetCustomItemData(int16 slot_id, string identifier)$client->GetDisciplineTimer(uint32 timer_id)$client->GetDiscSlotBySpellID(int32 spell_id)$client->GetDisplayAC()$client->GetDuelTarget()$client->GetEXP()$client->GetEbonCrystals()$client->GetEndurance()$client->GetEnduranceRatio()$client->GetFace()$client->GetFactionLevel(uint32 character_id, uint32 npc_id, uint32 player_race_id, uint32 player_class_id, uint32 player_deity_id, uint32 player_faction_id, mob*)$client->GetFeigned()$client->GetFreeSpellBookSlot(uint32 start_slot = 0)$client->GetGM()$client->GetGroup()$client->GetGroupPoints()$client->GetHorseId()$client->GetHunger()$client->GetIP()$client->GetInstanceID()$client->GetInstrumentMod(uint16 spell_id)$client->GetItemAt(uint32 slot)$client->GetItemIDAt(int16 slot_id)$client->GetItemInInventory(int16 slot_id)$client->GetLDoNLosses()$client->GetLDoNLossesTheme(int32 theme)$client->GetLDoNPointsTheme(int32 theme)$client->GetLDoNWins()$client->GetLDoNWinsTheme(int32 theme)$client->GetLanguageSkill(uint16 lanuage_id)$client->GetLastName()$client->GetMaxEndurance()$client->GetModCharacterFactionLevel(int32 faction_id)$client->GetPVP()$client->GetPVPPoints()$client->GetRadiantCrystals()$client->GetRaid()$client->GetRaidPoints()$client->GetRawItemAC()$client->GetRawSkill(int skill_id)$client->GetSkill(uint16 skill_id)$client->GetSkillPoints()$client->GetSpellBookSlotBySpellID(uint32 spell_id)$client->GetSpentAA()$client->GetStartZone()$client->GetTargetRingX()$client->GetTargetRingY()$client->GetTargetRingZ()$client->GetTaskActivityDoneCount(int task_id, int activity_id)$client->GetThirst()$client->GetTotalSecondsPlayed()$client->GetWeight()$client->GoFish()$client->GrantAlternateAdvancementAbility(int aa_id, int points, [bool ignore_cost = false])$client->GuildID()$client->GuildRank()$client->HasSkill(int skill_id)$client->HasSpellScribed(int spell_id)$client->HasZoneFlag(uint32 zone_id)$client->Hungry()$client->InZone()$client->IncStats(uint8 type, uint16 increase_val)$client->IncreaseLanguageSkill(int skill_id, int value = 1)$client->IncreaseSkill(int skill_id, int value = 1)$client->IncrementAA(uint32 aa_skill_id)$client->IsBecomeNPC()$client->IsCrouching()$client->IsDueling()$client->IsGrouped()$client->IsLD()$client->IsMedding()$client->IsRaidGrouped()$client->IsSitting()$client->IsStanding()$client->IsTaskActive(int task_id)$client->IsTaskActivityActive(int task_id, int activity_id)$client->IsTaskCompleted(int task_id)$client->KeyRingAdd(uint32 item_id)$client->KeyRingCheck(uint32 item_id)$client->Kick()$client->LearnRecipe(uint32 recipe_id)$client->LeaveGroup()$client->LoadZoneFlags()$client->MarkCompassLoc(float X, float Y, float Z)$client->MaxSkill(uint16 skill_id, uint16 class_id, uint16 level)$client->MemSpell(uint16 spell_id, int slot, [bool update_client = true])$client->MemmedCount()$client->MovePC(uint32 zone_id, float X, float Y, float Z, float heading)$client->MovePCInstance(uint32 zone_id, uint32 instance_id, float X, float Y, float Z, float heading)$client->MoveZone(const char *zone_short_name)$client->MoveZoneGroup(const char *zone_short_name)$client->MoveZoneRaid(const char *zone_short_name)$client->MoveZoneInstance(uint16 instance_id)$client->MoveZoneInstanceGroup(uint16 instance_id)$client->MoveZoneInstanceRaid(uint16 instance_id)$client->NotifyNewTitlesAvailable()$client->NPCSpawn(npc*, string option, uint32 respawn_time=1200)$client->NukeItem(uint32 item_id, [uint8 slot_to_check])$client->OpenLFGuildWindow()$client->PlayMP3(string file_name)$client->QuestReward(int32 mob, int32 copper, int32 silver, int32 gold, int32 platinum, int32 item_id, int32 exp, [bool faction = false])$client->ReadBook(char* book_test, uint8 type)$client->RefundAA()$client->RemoveFromInstance(uint16 instance_id)$client->RemoveNoRent()$client->ResetAA()$client->ResetDisciplineTimer(uint32 timer_id)$client->ResetTrade()$client->Save(uint8 commit_now)$client->SaveBackup()$client->ScribeSpell(uint16 spell_id, int slot, [bool update_client = true])$client->SendColoredText(uint32 color, string message)$client->SendFullPopup(string title, string text, uint32 popup_id, uint32 negative_id, uint32 buttons, uint32 duration, string button_name_0, string button_name_1, uint32 sound_controls)$client->SendMarqueeMessage(uint32 type, uint32 priority, uint32 fade_in, uint32 fade_out, uint32 duration, string msg)$client->SendOPTranslocateConfirm(mob* caster, int32 spell_id)$client->SendSound()$client->SendTargetCommand(int32 entity_id)$client->SendToGuildHall()$client->SendWebLink(string website_url)$client->SendZoneFlagInfo(client* to)$client->SetAAPoints(uint32 points)$client->SetAATitle(string text, [bool save = false])$client->SetAccountFlag(string flag, string value)$client->SetAlternateCurrencyValue(uint32 currency_id, int32 amount)$client->SetBaseClass(uint32 class_id)$client->SetBaseGender(uint32 gender_id)$client->SetBaseRace(uint32 race_id)$client->SetBecomeNPC(flag)$client->SetBecomeNPCLevel(level)$client->SetBindPoint(int to_zone = -1, int to_instance = 0, float new_x = 0.0f, float new_y = 0.0f, float new_z = 0.0f)$client->SetCustomItemData(int16 slot_id, string identifier, string value)$client->SetDeity(uint32 deity_id)$client->SetDuelTarget(set_id)$client->SetDueling(duel)$client->SetEXP(uint32 experience_points, uint32 aa_experience_points, [bool resexp=false])$client->SetEndurance(endurance)$client->SetFactionLevel(uint32 character_id, uint32 npc_id, uint8 character_class, uint8 character_race, uint8 character_deity)$client->SetFactionLevel2(uint32 character_id, int32 faction_id, uint8 character_class, uint8 character_race, uint8 character_deity, int32 value, uint8 temp)$client->SetFeigned(in_feigned)$client->SetGM(bool toggle)$client->SetHorseId(horseid_in)$client->SetHunger(in_hunger)$client->SetHunger(int32 hunger_amount, int32 thirst_amount)$client->SetLanguageSkill(int language_id, int value)$client->SetMaterial(int16 slot_id, uint32 item_id)$client->SetPVP(bool toggle)$client->SetPrimaryWeaponOrnamentation(model_id)$client->SetSecondaryWeaponOrnamentation(model_id)$client->SetSkill(int skill_id, uint16 value)$client->SetSkillPoints(inp)$client->SetStats(uint8 type, uint16 increase_val)$client->SetThirst(int32 in_thirst)$client->SetTint(int16 slot_id, uint32 color)$client->SetTitleSuffix(string text, [bool save = false])$client->SetZoneFlag(uint32 zone_id)$client->SignalClient(uint32 data)$client->SilentMessage(string message)$client->SlotConvert2(uint8 slot)$client->Stand()$client->SummonItem(uint32 item_id, [int16 charges = -1], [bool attune = false], [uint32 aug1 = 0], [uint32 aug2 = 0], [uint32 aug3 = 0], [uint32 aug4 = 0], [uint32 aug5 = 0], [uint16 slot_id = cursor])$client->TGB()$client->TakeMoneyFromPP(uint32 copper, bool update_client = false)$client->Thirsty()$client->TrainDiscBySpellID(int32 spell_id)$client->Undye()$client->UnmemSpell(int slot, [bool update_client = true])$client->UnmemSpellAll([bool update_client = true])$client->UnmemSpellBySpellID(int32 spell_id)$client->UnscribeSpell(int slot, [bool update_client = true])$client->UnscribeSpellAll([bool update_client = true])$client->UntrainDisc(int slot, [bool update_client = true])$client->UntrainDiscAll([update_client = true])$client->UpdateAdmin(bool from_db = true)$client->UpdateGroupAAs(int32 points, uint32 type)$client->UpdateLDoNPoints(int32 points, uint32 theme)$client->UpdateTaskActivity(int task_id, int activity_id, int count, [bool ignore_quest_update = false])$client->UpdateWho(uint8 remove = 0)$client->UseDiscipline(int32 spell_id, int32 target)$client->WorldKick()
client:AccountID(); -- uint32client:AddAAPoints(int points); -- voidclient:AddAlternateCurrencyValue(uint32 currency, int amount); -- voidclient:AddCrystals(uint32 radiant, uint32 ebon); -- voidclient:AddEXP(uint32 add_exp); -- voidclient:AddEXP(uint32 add_exp, int conlevel); -- voidclient:AddEXP(uint32 add_exp, int conlevel, bool resexp); -- voidclient:AddLevelBasedExp(int exp_pct); -- voidclient:AddLevelBasedExp(int exp_pct, int max_level); -- voidclient:AddLevelBasedExp(int exp_pct, int max_level, bool ignore_mods); -- voidclient:AddMoneyToPP(uint32 copper, uint32 silver, uint32 gold, uint32 platinum, bool update_client); -- voidclient:AddPVPPoints(uint32 points); -- voidclient:AddSkill(int skill_id, int value); -- voidclient:Admin(); -- intclient:AssignTask(int task, int npc_id); -- voidclient:AssignTask(int task, int npc_id, bool enforce_level_requirement); -- voidclient:AssignToInstance(int instance_id); -- voidclient:AutoSplitEnabled(); -- boolclient:BreakInvis(); -- voidclient:CalcATK(); -- intclient:CalcCurrentWeight(); -- intclient:CalcPriceMod(Lua_Mob other, bool reverse); -- floatclient:CanHaveSkill(int skill_id); -- boolclient:ChangeLastName(const char *in); -- voidclient:CharacterID(); -- uint32client:CheckIncreaseSkill(int skill_id, Lua_Mob target); -- voidclient:CheckIncreaseSkill(int skill_id, Lua_Mob target, int chance_mod); -- voidclient:CheckSpecializeIncrease(int spell_id); -- voidclient:ClearCompassMark(); -- voidclient:ClearZoneFlag(int zone_id); -- voidclient:Connected(); -- boolclient:DecreaseByID(uint32 type, int amt); -- boolclient:DeleteItemInInventory(int slot_id, int quantity); -- voidclient:DeleteItemInInventory(int slot_id, int quantity, bool update_client); -- voidclient:DisableAreaEndRegen(); -- voidclient:DisableAreaHPRegen(); -- voidclient:DisableAreaManaRegen(); -- voidclient:DisableAreaRegens(); -- voidclient:Disconnect(); -- voidclient:DropItem(int slot_id); -- voidclient:Duck(); -- voidclient:DyeArmorBySlot(uint8 slot, uint8 red, uint8 green, uint8 blue); -- voidclient:DyeArmorBySlot(uint8 slot, uint8 red, uint8 green, uint8 blue, uint8 use_tint); -- voidclient:EnableAreaEndRegen(int value); -- voidclient:EnableAreaHPRegen(int value); -- voidclient:EnableAreaManaRegen(int value); -- voidclient:EnableAreaRegens(int value); -- voidclient:Escape(); -- voidclient:FailTask(int task); -- voidclient:FilteredMessage(Mob *sender, uint32 type, int filter, const char *message); -- voidclient:FindMemmedSpellBySlot(int slot); -- uint16client:FindSpellBookSlotBySpellID(int spell_id); -- intclient:ForageItem(); -- voidclient:ForageItem(bool guarantee); -- voidclient:Freeze(); -- voidclient:GetAAExp(); -- uint32client:GetAAPercent(); -- uint32client:GetAAPoints(); -- intclient:GetAccountAge(); -- intclient:GetAccountFlag(std::string flag); -- std::stringclient:GetAggroCount(); -- intclient:GetAllMoney(); -- uint64client:GetAlternateCurrencyValue(uint32 currency); -- intclient:GetAnon(); -- boolclient:GetAugmentIDAt(int slot_id, int aug_slot); -- intclient:GetBaseAGI(); -- intclient:GetBaseCHA(); -- intclient:GetBaseDEX(); -- intclient:GetBaseFace(); -- intclient:GetBaseINT(); -- intclient:GetBaseRace(); -- intclient:GetBaseSTA(); -- intclient:GetBaseSTR(); -- intclient:GetBaseWIS(); -- intclient:GetBindHeading(); -- floatclient:GetBindHeading(int index); -- floatclient:GetBindX(); -- floatclient:GetBindX(int index); -- floatclient:GetBindY(); -- floatclient:GetBindY(int index); -- floatclient:GetBindZ(); -- floatclient:GetBindZ(int index); -- floatclient:GetBindZoneID(); -- uint32client:GetBindZoneID(int index); -- uint32client:GetCarriedMoney(); -- uint64client:GetCharacterFactionLevel(int faction_id); -- intclient:GetClientVersion(); -- intclient:GetClientVersionBit(); -- uint32client:GetCorpseCount(); -- intclient:GetCorpseID(int corpse); -- intclient:GetCorpseItemAt(int corpse, int slot); -- intclient:GetDisciplineTimer(uint32 timer_id); -- uint32client:GetDiscSlotBySpellID(int32 spell_id); -- intclient:GetDisplayAC()client:GetDuelTarget(); -- intclient:GetEXP(); -- uint32client:GetEbonCrystals(); -- uint32client:GetEndurance(); -- intclient:GetEndurancePercent(); -- intclient:GetFace(); -- intclient:GetFactionLevel(uint32 char_id, uint32 npc_id, uint32 race, uint32 class_, uint32 deity, uint32 faction, Lua_NPC npc); -- intclient:GetFeigned(); -- boolclient:GetGM(); -- boolclient:GetGroup(); -- Lua_Groupclient:GetGroupPoints(); -- uint32client:GetHorseId(); -- intclient:GetHunger(); -- intclient:GetIP(); -- uint32client:GetInstrumentMod(int spell_id); -- intclient:GetInventory(); -- Lua_Inventoryclient:GetItemIDAt(int slot_id); -- intclient:GetLDoNLosses(); -- intclient:GetLDoNLossesTheme(int theme); -- intclient:GetLDoNPointsTheme(int theme); -- intclient:GetLDoNWins(); -- intclient:GetLDoNWinsTheme(int theme); -- intclient:GetLanguageSkill(int skill_id); -- intclient:GetMaxEndurance(); -- intclient:GetModCharacterFactionLevel(int faction); -- intclient:GetMoney(uint8 type, uint8 subtype); -- uint32client:GetNextAvailableSpellBookSlot(); -- intclient:GetNextAvailableSpellBookSlot(int start); -- intclient:GetPVP(); -- boolclient:GetPVPPoints(); -- uint32client:GetRadiantCrystals(); -- uint32client:GetRaid(); -- Lua_Raidclient:GetRaidPoints(); -- uint32client:GetRawItemAC(); -- intclient:GetRawSkill(int skill_id); -- intclient:GetSkillPoints(); -- intclient:GetSpentAA(); -- intclient:GetStartZone(); -- intclient:GetThirst(); -- intclient:GetTotalSecondsPlayed(); -- uint32client:GetWeight(); -- intclient:GoFish(); -- voidclient:GrantAlternateAdvancementAbility(int aa_id, int points); -- boolclient:GrantAlternateAdvancementAbility(int aa_id, int points, bool ignore_cost); -- boolclient:GuildID(); -- uint32client:GuildRank(); -- intclient:HasSkill(int skill_id); -- boolclient:HasSpellScribed(int spell_id); -- boolclient:HasZoneFlag(int zone_id); -- boolclient:Hungry(); -- boolclient:InZone(); -- boolclient:IncStats(int type, int value); -- voidclient:IncreaseLanguageSkill(int skill_id); -- voidclient:IncreaseLanguageSkill(int skill_id, int value); -- voidclient:IncreaseSkill(int skill_id); -- voidclient:IncreaseSkill(int skill_id, int value); -- voidclient:IncrementAA(int aa); -- voidclient:IsCrouching(); -- boolclient:IsDead(); -- boolclient:IsDueling(); -- boolclient:IsGrouped(); -- boolclient:IsLD(); -- boolclient:IsMedding(); -- boolclient:IsRaidGrouped(); -- boolclient:IsSitting(); -- boolclient:IsStanding(); -- boolclient:IsTaskActive(int task); -- boolclient:IsTaskActivityActive(int task, int activity); -- boolclient:IsTaskCompleted(int task); -- boolclient:KeyRingAdd(uint32 item); -- voidclient:KeyRingCheck(uint32 item); -- boolclient:Kick(); -- voidclient:LearnRecipe(uint32 recipe); -- voidclient:LeaveGroup(); -- voidclient:MarkSingleCompassLoc(float in_x, float in_y, float in_z); -- voidclient:MarkSingleCompassLoc(float in_x, float in_y, float in_z, int count); -- voidclient:MaxSkill(int skill_id); -- intclient:MemSpell(int spell_id, int slot); -- voidclient:MemSpell(int spell_id, int slot, bool update_client); -- voidclient:MemmedCount(); -- intclient:MovePC(int zone, float x, float y, float z, float heading); -- voidclient:MovePCInstance(int zone, int instance, float x, float y, float z, float heading); -- voidclient:MoveZone(const char *zone_short_name); -- voidclient:MoveZoneGroup(const char *zone_short_name); -- voidclient:MoveZoneRaid(const char *zone_short_name); -- voidclient:MoveZoneInstance(uint16 instance_id); -- voidclient:MoveZoneInstanceGroup(uint16 instance_id); -- voidclient:MoveZoneInstanceRaid(uint16 instance_id); -- voidclient:NukeItem(uint32 item_num); -- voidclient:NukeItem(uint32 item_num, int where_to_check); -- voidclient:OpenLFGuildWindow(); -- voidclient:PlayMP3(std::string file); -- voidclient:PushItemOnCursor(Lua_ItemInst inst); -- boolclient:PutItemInInventory(int slot_id, Lua_ItemInst inst); -- boolclient:QuestReadBook(const char *text, int type); -- voidclient:QuestReward(Lua_Mob target); -- voidclient:QuestReward(Lua_Mob target, uint32 copper); -- voidclient:QuestReward(Lua_Mob target, uint32 copper, uint32 silver); -- voidclient:QuestReward(Lua_Mob target, uint32 copper, uint32 silver, uint32 gold); -- voidclient:QuestReward(Lua_Mob target, uint32 copper, uint32 silver, uint32 gold, uint32 platinum); -- voidclient:QuestReward(Lua_Mob target, uint32 copper, uint32 silver, uint32 gold, uint32 platinum, uint32 itemid); -- voidclient:QuestReward(Lua_Mob target, uint32 copper, uint32 silver, uint32 gold, uint32 platinum, uint32 itemid, uint32 exp); -- voidclient:QuestReward(Lua_Mob target, uint32 copper, uint32 silver, uint32 gold, uint32 platinum, uint32 itemid, uint32 exp, bool faction); -- voidclient:QueuePacket(Lua_Packet app); -- voidclient:QueuePacket(Lua_Packet app, bool ack_req); -- voidclient:QueuePacket(Lua_Packet app, bool ack_req, int client_connection_status); -- voidclient:QueuePacket(Lua_Packet app, bool ack_req, int client_connection_status, int filter); -- voidclient:RefundAA(); -- voidclient:ResetAA(); -- voidclient:ResetDisciplineTimer(uint32 timer_id); -- voidclient:ResetTrade(); -- voidclient:Save(); -- voidclient:Save(int commit_now); -- voidclient:SaveBackup(); -- voidclient:ScribeSpell(int spell_id, int slot); -- voidclient:ScribeSpell(int spell_id, int slot, bool update_client); -- voidclient:SendColoredText(uint32 type, std::string msg); -- voidclient:SendItemScale(Lua_ItemInst inst); -- voidclient:SendMarqueeMessage(uint32 type, uint32 priority, uint32 fade_in, uint32 fade_out, uint32 duration, std::string msg); -- voidclient:SendOPTranslocateConfirm(Lua_Mob caster, int spell_id); -- voidclient:SendSound(); -- voidclient:SendWebLink(const char *site); -- voidclient:SendZoneFlagInfo(Lua_Client to); -- voidclient:SetAAPoints(int points); -- voidclient:SetAATitle(const char *title); -- voidclient:SetAccountFlag(std::string flag, std::string val); -- voidclient:SetAlternateCurrencyValue(uint32 currency, int amount); -- voidclient:SetBaseClass(int v); -- voidclient:SetBaseGender(int v); -- voidclient:SetBaseRace(int v); -- voidclient:SetBindPoint(); -- voidclient:SetBindPoint(int to_zone); -- voidclient:SetBindPoint(int to_zone, int to_instance); -- voidclient:SetBindPoint(int to_zone, int to_instance, float new_x); -- voidclient:SetBindPoint(int to_zone, int to_instance, float new_x, float new_y); -- voidclient:SetBindPoint(int to_zone, int to_instance, float new_x, float new_y, float new_z); -- voidclient:SetConsumption(int in_hunger, int in_thirst); -- voidclient:SetDeity(int v); -- voidclient:SetDuelTarget(int c); -- voidclient:SetDueling(bool v); -- voidclient:SetEXP(uint32 set_exp, uint32 set_aaxp); -- voidclient:SetEXP(uint32 set_exp, uint32 set_aaxp, bool resexp); -- voidclient:SetEndurance(int endur); -- voidclient:SetFactionLevel(uint32 char_id, uint32 npc_id, int char_class, int char_race, int char_deity); -- voidclient:SetFactionLevel2(uint32 char_id, int faction_id, int char_class, int char_race, int char_deity, int value, int temp); -- voidclient:SetFeigned(bool v); -- voidclient:SetGM(bool v); -- voidclient:SetHorseId(int id); -- voidclient:SetHunger(int in_hunger); -- voidclient:SetLanguageSkill(int language, int value); -- voidclient:SetMaterial(int slot_id, uint32 item_id); -- voidclient:SetPVP(bool v); -- voidclient:SetPrimaryWeaponOrnamentation(uint32 model_id); -- voidclient:SetSecondaryWeaponOrnamentation(uint32 model_id); -- voidclient:SetSkill(int skill_id, int value); -- voidclient:SetSkillPoints(int skill); -- voidclient:SetStartZone(int zone_id); -- voidclient:SetStartZone(int zone_id, float x); -- voidclient:SetStartZone(int zone_id, float x, float y); -- voidclient:SetStartZone(int zone_id, float x, float y, float z); -- voidclient:SetStats(int type, int value); -- voidclient:SetThirst(int in_thirst); -- voidclient:SetTint(int slot_id, uint32 color); -- voidclient:SetTitleSuffix(const char *text); -- voidclient:SetZoneFlag(int zone_id); -- voidclient:Signal(uint32 id); -- voidclient:Stand(); -- voidclient:SummonItem(uint32 item_id); -- voidclient:SummonItem(uint32 item_id, int charges); -- voidclient:SummonItem(uint32 item_id, int charges, uint32 aug1); -- voidclient:SummonItem(uint32 item_id, int charges, uint32 aug1, uint32 aug2); -- voidclient:SummonItem(uint32 item_id, int charges, uint32 aug1, uint32 aug2, uint32 aug3); -- voidclient:SummonItem(uint32 item_id, int charges, uint32 aug1, uint32 aug2, uint32 aug3, uint32 aug4); -- voidclient:SummonItem(uint32 item_id, int charges, uint32 aug1, uint32 aug2, uint32 aug3, uint32 aug4, uint32 aug5); -- voidclient:SummonItem(uint32 item_id, int charges, uint32 aug1, uint32 aug2, uint32 aug3, uint32 aug4, uint32 aug5, bool attuned); -- voidclient:SummonItem(uint32 item_id, int charges, uint32 aug1, uint32 aug2, uint32 aug3, uint32 aug4, uint32 aug5, bool attuned, int to_slot); -- voidclient:TGB(); -- boolclient:TakeMoneyFromPP(uint64 copper); -- boolclient:TakeMoneyFromPP(uint64 copper, bool update_client); -- boolclient:Thirsty(); -- boolclient:TrainDisc(int itemid); -- voidclient:TrainDiscBySpellID(int32 spell_id); -- voidclient:UnFreeze(); -- voidclient:Undye(); -- voidclient:UnmemSpell(int slot); -- voidclient:UnmemSpell(int slot, bool update_client); -- voidclient:UnmemSpellAll(); -- voidclient:UnmemSpellAll(bool update_client); -- voidclient:UnmemSpellBySpellID(int32 spell_id); -- voidclient:UnscribeSpell(int slot); -- voidclient:UnscribeSpell(int slot, bool update_client); -- voidclient:UnscribeSpellAll(); -- voidclient:UnscribeSpellAll(bool update_client); -- voidclient:UntrainDisc(int slot); -- voidclient:UntrainDisc(int slot, bool update_client); -- voidclient:UntrainDiscAll(); -- voidclient:UntrainDiscAll(bool update_client); -- voidclient:UpdateGroupAAs(int points, uint32 type); -- voidclient:UpdateLDoNPoints(int points, uint32 theme); -- voidclient:UpdateTaskActivity(int task, int activity, int count); -- voidclient:UseDiscipline(int spell_id, int target_id); -- boolclient:WorldKick(); -- void
$obj->$a is an example to access variable $a from object $obj
Parameter:
None.
Usage:
Returns the account ID of the client.
Example
sub EVENT_SAY {if ($text=~/hail/i) {#:: Create a scalar variable to store the account ID of the client that triggered the eventmy $AccountID = $client->AccountID();#:: Send a message to the client in yellow (15) text$client->Message(15, "Your account ID is $AccountID.");}}
Parameter:
None.
Usage:
Returns the account name of the client.
Example
sub EVENT_SAY {if ($text=~/hail/i) {#:: Create a scalar variable to store the account name of the client that triggered the eventmy $AccountName = $client->AccountName();#:: Send a message to the client in yellow (15) text$client->Message(15, "Your account name is $AccountName.");}}
Parameter:
points (uint32)
Usage:
Add the specified number of AA points to the client.
Example
sub EVENT_ITEM_CLICK {#:: Match item 123456 - Some Itemif ($item == 123456) {#:: Award 20 AA points to the client who triggered the event$client->AddAAPoints(20);}}
Parameter:
currency_id (uint32) amount (int32)
Usage:
Add the specified amount of the specified currency to the client.
Example
sub EVENT_ITEM_CLICK {#:: Match item 57810 - Bag of Doubloonsif ($itemid == 57810) {#:: Give 79910 - Doubloon x100 to the client who triggered the event$client->AddAlternateCurrencyValue(79910, 100);}}
Parameter:
radiant_count (uint32), ebon_count (uint32)
Usage:
Add the specified amount of the Radiant or Ebon crystals to the client.
Example
sub EVENT_ITEM_CLICK {#:: Match item 57816 - Bag of Ebon Crystalsif ($itemid == 57816) {#:: Give 40902 - Ebon Crystal x100 to the client who triggered the event$client->AddCrystals(0, 100);}}
Parameter:
experience_points (uint32)
Usage:
Add the specified amount of experience to the client.
Example
sub EVENT_ITEM {#:: Match item 123456 - Some Itemif (plugin::takeItem(123456 => 1) {#:: Grant 100 experience to the client who triggered the event$client->AddEXP(100);}}
Parameter:
exp_percentage (uint8), max_level (uint8) [default = 0], ignore_mods (bool) [default = false]
Usage:
Adds the specified percentage of experience at each level, up until the maximum level specified, to the client. If the player's level exceeds the maximum level specified, the player would only be rewarded the percentage of the experience at the specified level.
Example
sub EVENT_ITEM {#:: Match item 123456 - Some Itemif (plugin::takeItem(123456 => 1) {#:: Grant 4 percent experience to the client who triggered the event up until level 15$client->AddLevelBasedExp(4, 15);}}
Parameter:
copper (uint32), silver (uint32), gold (uint32), platinum (uint32), update_client (bool)
Usage:
Adds the amount of currency specified to the client.
Example
sub EVENT_ITEM {#:: Match item 123456 - Some Itemif (plugin::takeItem(123456 => 1) {#:: Give 1cp, 2sp, 3gp, 4pp to the client who triggered the event, but don't tell them about it$client->AddMoneyToPP(1, 2, 3, 4, 0);}}
Parameter:
points (uint32)
Usage:
Adds the specified number of PVP points to the client.
Example
sub EVENT_ITEM {#:: Match item 123456 - Some Itemif (plugin::takeItem(123456 => 1) {#:: Grant one pvp point to the client who triggered the event$client->AddPVPPoints(1);}}
Parameter:
skill_id (int), value (uint16)
Usage:
Adds the specified skill level value to the specified skill for the client.
Note the difference between $client->AddSkill and $client->SetSkill
Example
sub EVENT_COMBINE_SUCCESS {#:: Match Recipe 2686 - Hand Made Backpack by IDif ($recipe_id == 2686) {#:: Send the client a message in color 15 (yellow)$client->Message(15,"Wow, you did it--you won tailoring!");#:: Add 300 points to the Tailoring skill for the client that triggered the event$client->AddSkill(61, 300);}}
Parameter:
None.
Usage:
Returns the Admin account status of the client.
Note that $status
is exported by many events, should it prove more useful.
Example
sub EVENT_SAY {if ($text=~/hail/i) {#:: Create a scalar variable to store admin status$GMstatus = $client->Admin();#:: Match if the account status is greater than oneif ($GMstatus > 1) {quest::say("How ya doin', boss?");}else {quest::say("Hello, $name");}}}
Parameter:
task_id (int), npc_id (int), enforce_level_requirement (bool) [Default = false]
Usage:
Assigns the specified task, credited to the specified NPC, to the client. Enforcing the level requirement of the task is optional, and defaults to false.
Example
#:: Assign Task 105, credit the npc by id, with level requirement enforced$client->AssignTask(105, $npc->GetID(), 1);#:: Assign Task 104, credit the npc by id, ignore level requirement$client->AssignTask(104, $npc->GetID());
Parameter:
instance_id (uint16)
Usage:
Assigns the specified instance to the client.
Example
#:: Create a scalar variable to store the instance id$InstanceID = quest::CreateInstance("soldungb", 0, 86400); #:: Instance of Sol B, based on version 0, for 86400 seconds (1 day)#:: Assign the client to the instance$client->AssignToInstance($InstanceID);
Parameter:
None.
Usage:
Turns on auto-split (coin) for the client.
Example
sub EVENT_GROUP_CHANGE {#:: Turn on auto-split$client->AutoSplitEnabled()}
Parameter:
None.
Usage:
Turns off invisibility effects for the client.
Example
sub EVENT_CLICKDOOR {#:: Turn off invis for any client that clicks the door$client->BreakInvis()}
​