mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-16 18:55:03 -04:00
Merge branch 'master' of github.com:MightyPirates/OpenComputers
This commit is contained in:
commit
d5bd34b76d
@ -409,6 +409,13 @@ local result, reason = pcall(function()
|
||||
line = tostring(reason)
|
||||
end
|
||||
end
|
||||
elseif line:lower():sub(1,4) == "/me " then
|
||||
if not target then
|
||||
print("No default target set. Use /msg or /join to set one.")
|
||||
line = ""
|
||||
else
|
||||
line = "PRIVMSG " .. target .. " :\001ACTION " .. line:sub(5) .. "\001"
|
||||
end
|
||||
elseif line:sub(1, 1) == "/" then
|
||||
line = line:sub(2)
|
||||
elseif line ~= "" then
|
||||
|
Loading…
x
Reference in New Issue
Block a user