| | 1 | Check if the bot is next to speak for an event. |
| | 2 | == Location == |
| | 3 | Defined in: interbot.tcl |
| | 4 | |
| | 5 | == Syntax == |
| | 6 | bMotion_interbot_me_next channel |
| | 7 | |
| | 8 | * channel: the channel to check |
| | 9 | |
| | 10 | == Use == |
| | 11 | Use bMotion_interbot_me_next when running a plugin that more than one bot will have picked up, but only one of them should respond to. |
| | 12 | |
| | 13 | This function is the dynamic replacement for the "balefire" setting. |
| | 14 | |
| | 15 | The function will return 1if it should be next to speak, or 0 if it should not. |
| | 16 | |
| | 17 | If the function returns 1, it also immediately calls an election on the channel to update the values on all bots. If the function returns 0, your plugin should abort. |
| | 18 | |
| | 19 | == See also == |
| | 20 | Architecture: [wiki:Interbot] |