So I'm having an issue with a script snip.
This line

if ($2 = null) {$2 = 6}

I'm using a wrong variable. The idea is if no other number is set for $2 I want $2 to equal 6. Otherwise, it's the number set in the script command.