Changeset 1133
- Timestamp:
- 12/24/11 08:00:29 (5 months ago)
- Location:
- trunk/modules
- Files:
-
- 4 edited
-
abstracts/en/randomstuff.tcl (modified) (2 diffs)
-
events.tcl (modified) (1 diff)
-
interbot.tcl (modified) (1 diff)
-
plugins.tcl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/abstracts/en/randomstuff.tcl
r1132 r1133 8 8 bMotion_abstract_reset "randomStuff" 9 9 bMotion_abstract_batchadd "randomStuff" { 10 "%VAR{sillyThings:strip} just kicked in yo!%|%VAR{sound}" 11 "my %VAR{bodypart} is itchy, is that normal?" 10 12 "%VAR{FRENCH}" 11 13 "%VAR{blairisms}" … … 548 550 ### Used when the channel is 'active' (default < 300 sec since last line) 549 551 bMotion_abstract_register "activeRandomStuff" { 552 "and near the milkshake" 553 "just think how sexy you'd look with my %VAR{bodypart} in your mouth" 554 "just think how sexy you'd look with my %VAR{bodypart} in your %VAR{bodypart}" 550 555 "%ruser really puts the %VAR{sillyThings:strip,triplet} in %VAR{sillyThings:prevtriplet}!" 551 556 "and in the game" -
trunk/modules/events.tcl
r1109 r1133 523 523 } 524 524 if {$diff > 900} { 525 bMotionDoAction $channel $nick "%VAR{opped}" 525 if [bMotion_interbot_is_bmotion $handle] { 526 bMotionDoAction $channel $nick "%VAR{thanks}" 527 bMotionDoAction $channel $nick "%BOT[@$handle,VAR{welcomes}" 528 } else { 529 bMotionDoAction $channel $nick "%VAR{opped}" 530 } 526 531 } else { 527 532 bMotion_putloglev d * "Not responding to +o in $channel as I was only deopped $diff seconds ago" -
trunk/modules/interbot.tcl
r1112 r1133 393 393 } 394 394 395 396 # bMotion_interbot_is_bmotion 397 # 398 # checks if another bot is a bmotion bot 399 proc bMotion_interbot_is_bmotion { handle } { 400 global bMotion_interbot_otherbots 401 402 if [info exists bMotion_interbot_otherbots($handle)] { 403 return 1 404 } 405 return 0 406 } 407 408 395 409 # set up our binds 396 410 bind bot - "bmotion" bMotion_interbot_catch -
trunk/modules/plugins.tcl
r1019 r1133 290 290 set result [list] 291 291 292 bMotion_putloglev 5 * "bMotion_plugin_find_output lang=$lang channel=$channel min=$min_priority max=$max_priority name=$name" 293 292 294 foreach key [lsort [array names bMotion_plugins_output]] { 293 295 set val $bMotion_plugins_output($key) … … 307 309 } 308 310 309 if { !([string match $lang $language] && ($language != "any") && ($language != "all"))} {311 if {(![string match $lang $language] && ($language != "any") && ($language != "all"))} { 310 312 bMotion_putloglev 3 * "macro: ignoring $key on language" 311 bMotion_putloglev 3 * "macro: plugin is $lang , want $language"313 bMotion_putloglev 3 * "macro: plugin is $language, want $lang" 312 314 continue 313 315 } … … 336 338 } 337 339 340 bMotion_putloglev 4 * "Returning list of plugins for $channel: $result2" 338 341 return $result2 339 342 }
Note: See TracChangeset
for help on using the changeset viewer.
