mirror of
https://github.com/edubart/otclient.git
synced 2025-04-29 17:19:20 +02:00
Update console.lua
I was wrong, still need it for multireturn unpack
This commit is contained in:
parent
14a93a13c8
commit
49e3ded63c
@ -882,7 +882,7 @@ function sendMessage(message, tab)
|
|||||||
channel = 0
|
channel = 0
|
||||||
end
|
end
|
||||||
|
|
||||||
local findIni, chatCommandInitial, chatCommandPrivate, chatCommandEnd, chatCommandMessage = message:find("([%*%@])(.+)([%*%@])(.*)")
|
local findIni, findEnd, chatCommandInitial, chatCommandPrivate, chatCommandEnd, chatCommandMessage = message:find("([%*%@])(.+)([%*%@])(.*)")
|
||||||
if findIni ~= nil and findIni == 1 then -- player used private chat command
|
if findIni ~= nil and findIni == 1 then -- player used private chat command
|
||||||
if chatCommandInitial == chatCommandEnd then
|
if chatCommandInitial == chatCommandEnd then
|
||||||
chatCommandPrivateRepeat = false
|
chatCommandPrivateRepeat = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user