1. Is there a easy way to change chat font size? Globally?
     
  2. Wulf

    Wulf Community Admin

    You could hook into OnPlayerChat or OnRunCommand and filter it before all other plugins.
     
  3. I understand OnPlayerChat but why OnRunCommand?
     
  4. Bcs OnRunCommand you can use "chat.say" ...
    OnPlayerChat gets called from the command "chat.say"
     
  5. I sort of get it,

    Code:
    function PLUGIN:OnRunCommand(arg)
       
        local msg = arg:GetString(0)
       
        if (msg ~= nil) and (msg ~= "") then print("DEBUG: " .. msg) end
       
       
    end        
    it prints only what players said, i dont see chat.say in the msg variable...how i would i know if its a chat.say ?
     
  6. if arg.cmd.namefull == "chat.say"
     
    Last edited by a moderator: Aug 15, 2015
  7. Wulf

    Wulf Community Admin

    arg.cmd.namefull