mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 11:15:12 -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)
|
line = tostring(reason)
|
||||||
end
|
end
|
||||||
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
|
elseif line:sub(1, 1) == "/" then
|
||||||
line = line:sub(2)
|
line = line:sub(2)
|
||||||
elseif line ~= "" then
|
elseif line ~= "" then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user