Ayase 's Wiki
database
auth
account.md
game_build_list.md
characters
characters_extend.md
character_challenge_complete_info.md
character_equipsoul_system.md
character_itemexinfo.md
character_npcbot.md
character_npcbot_group.md
character_npcbot_script.md
character_states.md
custom_reforging.md
custom_transmogrification.md
custom_transmogrification_sets.md
instance.md
world
auctionhousebot.md
ayasecore_challengesystem_complete_setting.md
ayasecore_challengesystem_creature_auras_setting.md
ayasecore_challengesystem_loot_setting.md
ayasecore_challengesystem_precondition_setting.md
ayasecore_challengesystem_setting.md
ayasecore_challengesystem_spellpool.md
ayasecore_charactersFake.md
ayasecore_equipsoul_material_setting.md
ayasecore_equipsoul_setting.md
ayasecore_handleSqlString.md
ayasecore_LevelUpSetting.md
ayasecore_npcbot_equip_template.md
ayasecore_peak_level_setting.md
ayasecore_QuestionSystem.md
ayasecore_statesSetting.md
ayasecore_teleportSetting.md
ayasecore_TitleAuraSystem.md
creature.md
creature_template_outfits.md
item_template_custom.md
item_up.md
_ayasecore_config.md
dbc
chartitles.dbc.md
extend scripts
赌博系统.lua
多功能炉石.lua
荣誉系统.lua
杀BOSS世界公告系统系统.lua
升级到自动奖励系统.lua
玩家上线提示系统.lua
function
challengeModeSystem.md
comment.md
db.md
sendPatches.md
img
1.png
2.png
BaiduShurufa_2018-12-4_22-18-31.jpg
BaiduShurufa_2018-12-4_22-20-39.jpg
BaiduShurufa_2018-12-4_22-32-34.jpg
一些说明
ahbot文档[英文原版].txt
ike3版的说明.txt
Markdown 语法.md
关于注册帐号.jpg
关于装备合成.txt
启动器设置.png
index.md
/wiki
extend scripts
玩家上线提示系统.lua
print(">>Script: Player Log Message.") local TEAM_ALLIANCE=0 local TEAM_HORDE=1 --CLASS 职业 local CLASS_WARRIOR = 1 --战士 local CLASS_PALADIN = 2 --圣骑士 local CLASS_HUNTER = 3 --猎人 local CLASS_ROGUE = 4 --盗贼 local CLASS_PRIEST = 5 --牧师 local CLASS_DEATH_KNIGHT = 6 --死亡骑士 local CLASS_SHAMAN = 7 --萨满 local CLASS_MAGE = 8 --法师 local CLASS_WARLOCK = 9 --术士 local CLASS_DRUID = 11 --德鲁伊 local ClassName={--职业表 [CLASS_WARRIOR] ="战士", [CLASS_PALADIN] ="圣骑士", [CLASS_HUNTER] ="猎人", [CLASS_ROGUE] ="盗贼", [CLASS_PRIEST] ="牧师", [CLASS_DEATH_KNIGHT]="死亡骑士", [CLASS_SHAMAN] ="萨满", [CLASS_MAGE] ="法师", [CLASS_WARLOCK] ="术士", [CLASS_DRUID] ="德鲁伊", } local function GetPlayerInfo(player)--得到玩家信息 local Pclass = ClassName[player:GetClass()] or "? ? ?" --得到职业 local Pname = player:GetName() local Pteam = "" local team=player:GetTeam() if(team==TEAM_ALLIANCE)then Pteam ="|cFF0070d0联盟|r" elseif(team==TEAM_HORDE)then Pteam ="|cFFF000A0部落|r" end return string.format("%s%s玩家[|cFF00FF00|Hplayer:%s|h%s|h|r]",Pteam,Pclass,Pname,Pname) end local function PlayerFirstLogin(event, player)--玩家首次登录 SendWorldMessage("|cFFFF0000[系统]欢迎|r"..GetPlayerInfo(player).." |cFFFF0000首次进入魔兽世界。|r") print("Player is Created. GUID:"..player:GetGUIDLow()) end local function PlayerLogin(event, player)--玩家登录 SendWorldMessage("|cFFFF0000[系统]|r欢迎"..GetPlayerInfo(player).." 上线") print("Player is Login. GUID:"..player:GetGUIDLow()) end local function PlayerLogout(event, player)--玩家登出 SendWorldMessage("|cFFFF0000[系统]|r"..GetPlayerInfo(player).." 下线。") print("Player is Logout. GUID:"..player:GetGUIDLow()) end --PLAYER_EVENT_ON_FIRST_LOGIN = 30 -- (event, player) RegisterPlayerEvent(30, PlayerFirstLogin)--首次登录 --PLAYER_EVENT_ON_LOGIN = 3 -- (event, player) RegisterPlayerEvent(3, PlayerLogin)--登录 --PLAYER_EVENT_ON_LOGOUT = 4 -- (event, player) RegisterPlayerEvent(4, PlayerLogout)--登出