If X

Description
Determines whether a particular number of arguments have been provided to the script, as %1, %2, ....

Useful to determine when a required number of arguments have been given, else exit or display usage text; or to consume arguments along with the shift command.

Syntax
if_x then

Parameters

 * x
 * any number of arguments places up to 9, to see if the nth argument is provided
 * command
 * any statement to execute

Examples
if_1 then goto sayhello

sayhello: put say %1!