you could have just done...
on *:text:*!give *:#: { if ($3 == $null) { describe $chan 12Gives4 $nick 12 A $2- } else { describe $chan 12Gives4 $2 12 A $3- } }