17 - This chat command can be used to meet the local need is a way.
What does the provided patch do?
Always reflect positively juseoseo thanks, Celess.
One kind of would like to provide feedback.
(This chat command can be used to meet the local need is a way.)
Please provide any additional information below.
1. Modification of the conditional RaidTracker.lua file source
# Before
function RaidTracker: OnCommandCustom (msg, cmd, args)
local frame = RaidTrackerFrame
local db, o, L = self._db self._options self.L
local lsCommand = L [cmd]
if cmd == "debug" then
# After
function RaidTracker: OnCommandCustom (msg, cmd, args)
local frame = RaidTrackerFrame
local db, o, L = self._db self._options self.L
local lsCommand = L [cmd]
if L [cmd] == "debug" then
2. Adding language files, the source (koKR.lua
L ["debug"] = "debug"
L ["debug"] = true
3. Modification of the conditional LibKarma-1.0.lua.lua file source
# Before
function LibKarma:OnCommand( msg, ... )
local _, _, cmd, args = string.find(msg, "%s?(%w+)%s?(.*)")
# After
function LibKarma:OnCommand( msg, ... )
local _, _, cmd, args = string.find(msg, "%s?(%S+)%s?(.*)")
If you are applying the above two kinds of local users to easily, according to local chat commands will be able to do duty.
Tell receive feedback if the update local-koKR.lua Please add the following information.
- Chat Commands
L ["debug"] = "debug"
L ["added my wife"] = "addwipe"
L ["delete"] = "deleteall"
L ["add"] = "additem"
L ["position"] = "join"
L ["Exit"] = "leave"
L ["Boss"] = "bossnext"
L ["item options"] = "io"
L ["ㅑ ㅐ"] = "io"
L ["options"] = "options"
L ["ㅇ"] = "options"
L ["ㅐ"] = "o"
L ["hidden"] = "hide"
L ["help"] = "help"
L ["aw"] = "addwipe"
L ["delete"] = "deleteall"
L ["ai"] = "additem"
L ["j"] = "join"
L ["l"] = "leave"
L ["o"] = "options"
L ["O"] = "options"
L ["h"] = "help"
L ["debug"] = true
L ["addwipe"] = true
L ["deleteall"] = true
L ["additem"] = true
L ["join"] = true
L ["leave"] = true
L ["bossnext"] = true
L ["io"] = true
L ["options"] = true
L ["o"] = true
L ["hide"] = true
L ["help"] = true
| User | When | Change |
|---|---|---|
| Celess | Jan 12, 2012 at 02:54 UTC | Changed status from Invalid to Accepted |
| bisonai | Jan 12, 2012 at 02:25 UTC | Changed status from New to Invalid |
| bisonai | Jan 12, 2012 at 02:24 UTC | Changed description: 2. Adding language files, the source (koKR.lua)
L ["debug"] = "debug"
L ["debug"] = true
+
+ 3. Modification of the conditional LibKarma-1.0.lua.lua file source
+
+ # Before
+ function LibKarma:OnCommand( msg, ... )
+ local _, _, cmd, args = string.find(msg, "%s?(%w+)%s?(.*)")
+
+ # After
+ function LibKarma:OnCommand( msg, ... )
+ local _, _, cmd, args = string.find(msg, "%s?(%S+)%s?(.*)")
+
If you are applying the above two kinds of local users to easily, according to local chat commands will be able to do duty. |
| bisonai | Jan 12, 2012 at 02:15 UTC | Create |
- 3 comments
- 3 comments
- Reply
- #3
bisonai Jan 12, 2012 at 23:30 UTC - 0 likes<<reply 492463>>
Originally presented in two ways: by modifying the file OK, but did not execute the command.
Perhaps the first article, the third modification naeyongjung %w function is part of the string do not seem to recognize and brew.
w do you capitalize the W by changing the local execution of the command have been confirmed.
Way I recommend L [cmd] and string functions %S fixes and around the local only, If you could add a small increase is expected to add capacity.
- Reply
- #2
bisonai Jan 12, 2012 at 23:06 UTC - 0 likesother users at the time of the raid tacker first heard the standard instructions and the local (South Korea) command Was enabled by modifying the upload.
But now that the user of the site, as well as the activity does not vanish, too.
Also, add or modify existing files on your personal blog and posted it once was not enough time, but can not raise.
If it reflects the opinions of more help to South Korea will be the local user.
In addition, users of any other country you think will help you too.
- Reply
- #1
Celess Jan 12, 2012 at 02:47 UTC - 0 likesHow about:
So that both standard command and translated command both work?
I worry that some automation or personal habit may need the english command.
Or perhaps: