scripts taking arguments

I am trying to write a script using commands to print a sequence of numbers.
However, I can't get jot to recognize what I give it.

Terri$ cat mncmd
echo "m=$1"
echo "n=$2"
$jot $2
Terri$ ./mncmd 1 10
m=1
n=10
./mncmd: line 3: $2: command not found

I've also tried

Terri$ cat mncmd
echo "m=$1"
echo "n=$2"
echo $jot $2 $1
Terri$ ./mncmd 1 10
m=1
n=10
10 1

Why isn't this working???

What is this $jot variable?

If it's not a variable, why the $ ?

jot isn't a variable, its the mac equivalent of seq

If it's not a variable, then you don't want a $ in front of it.