DW your sscanf line IS checking if params is null. You dont need to use "isnull" in this case.
Oh right okay so I'm not using isnull, however, if I put a action item and no amount, the default amount is 114, but it should send the message syntax: /car put or whatever I want to send?