Changeset 303
- Timestamp:
- 09/28/03 13:55:00 (8 years ago)
- File:
-
- 1 edited
-
trunk/modules/interbot.tcl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/interbot.tcl
r209 r303 187 187 } 188 188 189 190 if {![info exists bMotion_interbot_nextbot_score]} {191 # init the nextbot array for each channel192 193 foreach chan $bMotionInfo(randomChannels) {194 set bMotion_interbot_nextbot_score($chan) "-1"195 set bMotion_interbot_nextbot_nick($chan) ""196 }197 }198 199 189 # Check if we're due to talk next on the channel 200 190 # if yes, then force an election for that channel immediately afterwards … … 236 226 } 237 227 228 #call an election when we start/rehash 229 foreach chan $bMotionInfo(randomChannels) { 230 set bMotion_interbot_nextbot_score($chan) "-1" 231 set bMotion_interbot_nextbot_nick($chan) "" 232 } 233 bMotion_interbot_next_elect 234 238 235 #interbot stuff 239 236 bind bot I "bmotion" bMotion_interbot_catch
Note: See TracChangeset
for help on using the changeset viewer.
