Suggestions
Move green text to channel
#15
Add first edits to: modules/game_textmessage/textmessage.lua
Add the second edit to your bot config.
--[[
Script made by Lee (Discord: l33_) - www.trainorcreations.com
If you want to support my work, feel free to donate at https://trainorcreations.com/donate
PS. Stop ripping off my work and selling it as your own.
]]--
-- add these to the MessageSettings array
lootGreen = { color = TextColors.green, consoleTab='Loot'},
textGreen = { color = TextColors.green, consoleTab='Green Text', consoleOption='showInfoMessagesInConsole' },
-- replace the MessageTypes array, MessageModes .Loot and .Look to this
[MessageModes.Look] = MessageSettings.textGreen,
[MessageModes.Loot] = MessageSettings.lootGreen,
--to fix party loot not showing in channel
-- find:
-- if msgtype == MessageSettings.none then return end
--Add this above
if string.find(text, "Loot of") then msgtype = MessageTypes[29] end
--[[
Script made by Lee (Discord: l33_) - www.trainorcreations.com
If you want to support my work, feel free to donate at https://trainorcreations.com/donate
PS. Stop ripping off my work and selling it as your own.
]]--
local tab = modules.game_console.addChannel(tr('Loot'), 98)
local tab = modules.game_console.addChannel(tr('Green Text'), 99)
01 Jan 2020