courgette/b3-plugin-poweradminbf3 — Issue #5: !swap <player1> [<player2>]
Author: courgette
Created: 2011-10-30 04:02:06+00:00
State: open

# Description
Swaps two players

`` is optional, if not specified, then it is assumed to be the player using the command

## if player1 and player2 are in the same team and same squad
tell user using command that the two players are in same squad, cannot swap

## else
1. team1 = player1 team id
1. squad1 = player1 squad id
1. team2 = player2 team id
1. squad2 = player2 squad id
1. call `admin.movePlayer 0 true`
1. call `admin.movePlayer squad1 true`
1. call `admin.movePlayer squad2 false`
1. tell player1 you were swapped by admin
1. tell player2 you were swapped by admin

## if error
feedback to player using the command