Can you show the source of what you're currently doing?
But without it, for a quick demo:
function ulx.bleh( calling_ply, reason )
ulx.tsayError( calling_ply, "#A is bored because: #s", reason )
end
local bleh = ulx.command( "Bleh", "ulx bleh", ulx.bleh, "!bleh" )
bleh:addParam{ type=ULib.cmds.PlayersArg }
bleh:addParam{ type=ULib.cmds.StringArg, hint="Reason?" }
The one above should work, or if it's in a string/msg of some sort I would recommend using ".." like example in my impersonate:
v:ConCommand("say " .. msg .. "\n") -- Sends the message