courgette/big-brother-bot — Issue #58: support new banList.list command behavior
Author: courgette
Created: 2012-01-21 15:56:24+00:00
State: open

as announced on http://www.fpsadmin.com/forum/showthread.php?t=24266 the banList.list command will behave differently and will accept a new parameter : `offset`

## usage

```
banList.list [offset]
```
If `offset` is not supplied, it is assumed to `0`.
The list command will have the same format as before. However it will not necessarily return all the results. You should perform the list request with higher offset values until you get no entries back.

## pseudo code

```python
index = 0
while True:
result = banList.list index
numEntries = (result.numWords - 1) / 6
if numEntries == 0
return

addEntriesToInternalList(result)

index += numEntries
```

## other info

The command will return at most X entries (X may be 100 but there is no reason for you to hardcode that).

The current design is to not return the number of entries as a separate word; instead, you need to calculate it from the number of words in the response.