mirror of
https://github.com/minetest-mods/irc.git
synced 2025-03-20 11:00:17 +01:00
IRC PMs colorized in-game
This commit is contained in:
parent
f57bdba5e9
commit
fc6da152f7
@ -51,7 +51,7 @@ function irc.bot_command(msg, text)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
minetest.chat_send_player(player_to,
|
minetest.chat_send_player(player_to,
|
||||||
"PM from "..msg.user.nick.."@IRC: "..message, false)
|
minetest.colorize("#640078", "PM from "..msg.user.nick.."@IRC: " ..message), false)
|
||||||
irc.reply("Message sent!")
|
irc.reply("Message sent!")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user