Skip to content

Commit

Permalink
Add /wp load-guide command.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovicus-Maior committed Apr 21, 2023
1 parent 2d1e8c7 commit 3c9842b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions WoWPro/WoWPro_Command.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ local function handler(msg, editbox)
_G.ChatFrame1:AddMessage("WoWPro.DevMode = true")
end
WoWPro.LoadGuideStepsReal()
elseif ltoken == "load-guide" then
WoWProDB.char.currentguide = nil
WoWPro:LoadGuide(tokens[2])
elseif ltoken == "where" then
local X, Y, mapId = WoWPro:GetPlayerZonePosition()
if (not X) or (not Y) then
Expand Down

0 comments on commit 3c9842b

Please sign in to comment.