• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Change function MSG only on a chat

warriorfrog

Active Member
Joined
Jul 29, 2015
Messages
334
Reaction score
35
How to change this func
Code:
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED,'Loot of ' .. monster .. ': ' .. (ret ~= '' and ret or 'nothing') )

To this msg dont show on default channel, show only on loot channel (channel id = <channel id="20" name="Loot"/>)
 
Code:
doPlayerSendChannelMessage(cid, author, 'Loot of ' .. monster .. ': ' .. (ret ~= '' and ret or 'nothing', MESSAGE_STATUS_CONSOLE_RED, 20)
 
Back
Top