Changes between Initial Version and Version 1 of bMotionInterbotMeNext

Show
Ignore:
Timestamp:
12/05/05 16:27:56 (5 years ago)
Author:
james
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • bMotionInterbotMeNext

    v1 v1  
     1Check if the bot is next to speak for an event. 
     2== Location == 
     3Defined in: interbot.tcl 
     4 
     5== Syntax == 
     6 bMotion_interbot_me_next channel 
     7 
     8 * channel: the channel to check 
     9 
     10== Use == 
     11Use 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 
     13This function is the dynamic replacement for the "balefire" setting. 
     14 
     15The function will return 1if it should be next to speak, or 0 if it should not. 
     16 
     17If 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 == 
     20Architecture: [wiki:Interbot]