IsLocation

Function:

 * boolean isLocation(p1, p2, p3, p4)

Parameters:

 * [optional] p1 - parameter #1
 * [optional] p2 - parameter #2
 * [optional] p3 - parameter #3
 * [optional] p4 - parameter #4

Return value:

 * This function return an boolean indicating if player is on location described by function parameters. Returns true if player is on location, false if player isn't on location.

Description:

 * This function can take several configurations of parameters. Below are possible usages of this function:

1. No parameters: isLocation

 * In this configuration functions return if player is standing exactly on currently selected waypoint in the Cavebot.

2. 1 parameter: isLocation(range)

 * In this configuration functions return if player is standing in range of given value of SQMs from position of currently selected waypoint in the Cavebot.

3. 3 parameter: isLocation(x, y, z)

 * In this configuration functions return if player is standing exactly on SQM described by x,y,z parameters.

4. 4 parameter: isLocation(x, y, z, range)

 * In this configuration functions return if player is standing in range of given value of SQMs from SQM described by x,y,z parameters.