Thread: lua npc whisper
View Single Post
  #1  
Old 12-28-2018, 12:16 PM
phate8908
Fire Beetle
 
Join Date: Dec 2018
Posts: 12
Default lua npc whisper

append this to the end of lua_modules\npc_ext.lua

this is just the lua version of whisper, same thing as the perl version
Code:
function NPC:Whisper(Client, Message)
	local TextColor = 315;
	Client:Message(TextColor, self:GetCleanName() .. " whispers, '" .. Message .."'");
end

Last edited by phate8908; 12-28-2018 at 10:39 PM.. Reason: fixed a small error detail... oops
Reply With Quote