CATEGORY_NAME = "ULX Say By Appledevdude"

function ulx.rsay( calling_ply, message )
ULib.tsayColor( nil, false, Color(255,0,0), message )

if util.tobool( GetConVarNumber( "ulx_logChat" ) ) then
ulx.logString( string.format( "(rsay from %s) %s", calling_ply:IsValid() and calling_ply:Nick() or "Console", message ) )
end
end
local rsay = ulx.command( CATEGORY_NAME, "ulx rsay", ulx.rsay, "!rsay", true, true )
rsay:addParam{ type=ULib.cmds.StringArg, hint="message", ULib.cmds.takeRestOfLine }
rsay:defaultAccess( ULib.ACCESS_ADMIN )
rsay:help( "Send a message to everyone in the chat box in red" )