function guardArea (pos) {
  guardPos = pos

  // We we are not currently in combat, move to the guard pos
  if (!bot.pvp.target) {
    moveToGuardPos()
  }
}
// Assign the given location to be guarded
Assign the given location to be guarded
Assign the given location to be guarded
function guardArea (pos) {
  guardPos = pos
  if (!bot.pvp.target) {
    moveToGuardPos()
  }
}
function guardArea ( pos ) { guardPos = pos if ( ! bot . pvp . target ) { moveToGuardPos ( ) } }
Assign the given location to be guarded
Assign the given location to be guarded
// We we are not currently in combat, move to the guard pos