FANDOM


語法編輯

SLASH_<CommandId><num> = "/<CommandString>";
SlashCmdList["<CommandId>"] = <CodeToExecute> ;

範例編輯

  • 密語用 /wt
/run function wt(m) t="target"; if UnitExists(t) and UnitIsPlayer(t) and UnitIsFriend("player",t) then SendChatMessage(m,"WHISPER",nil,UnitName(t)); end;end; SLASH_WT1="/wt"; SlashCmdList["WT"]=wt;

參考資料編輯