魔兽世界里面一区最大的黑手是谁!?知情人透露下!
SendChatMessage的格式为
SendChatMessage("内容","方式"(,"语言","附加"))
方式可选项为emote(表情),guild(公会),party(小队),raid(团队),yell(大喊),say(说话,默认),whisper(密语)
比如在小队里喊话是
SendChatMessage("内容","party")
=================================
/脚本 F=F or CreateFrame("frame")F:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")F:SetScript("OnEvent",function()if arg1=="player"and arg2=="奥术射击"then SendChatMessage("奥术射击","yell")F:SetScript("OnEvent",nil)end;end)
/施放 奥术射击...
16394