if ($hget($1)) hadd $1-2 $addtok($hget($1,$2),$3,$4) else echo $color(info) * /haddtok: Error, no such table $iif($1,( $+ $1 $+ ))
You can use the -m switch here, incase the table does not exist, it creates it.