拾取后自动刷新
/run if(not DSX_SX)then CreateFrame("Frame","DSX_SX",UIParent)DSX_SX:RegisterEvent("CHAT_MSG_LOOT")end if SX then print("关闭刷新")SX=nil else SendChatMessage(".respawn")print("开启刷新")SX=function(_,_,sq,xt)if string.find(sq, "了", 1)then SendChatMessage(".respawn")end end end DSX_SX:SetScript("OnEvent",SX)