From 54da7a9fd1d274a6d7bf98bf149d76800b52e3e7 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Sun, 16 Nov 2008 11:05:39 +0000 Subject: [PATCH] * Added a /tomtomway command to get around Cartographer clobbering everything I set * Changed the global I use for slash commands, the previous one was ill-advised --- TomTom.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/TomTom.lua b/TomTom.lua index 5b5b97f..550033b 100755 --- a/TomTom.lua +++ b/TomTom.lua @@ -880,9 +880,10 @@ for cidx,c in ipairs{GetMapContinents()} do end end -SLASH_WAY1 = "/way" -SLASH_WAY2 = "/tway" -SlashCmdList["WAY"] = function(msg) +SLASH_TOMTOM_WAY1 = "/way" +SLASH_TOMTOM_WAY2 = "/tway" +SLASH_TOMTOM_WAY3 = "/tomtomway" +SlashCmdList["TOMTOM_WAY"] = function(msg) local tokens = {} for token in msg:gmatch("%S+") do table.insert(tokens, token) end -- 1.7.9.5