You only need ONE text event and check for op. You should also include a check to see if the $2 exists in the ban list before removing it.