Changeset 1111


Ignore:
Timestamp:
05/31/11 07:44:42 (12 months ago)
Author:
znx
Message:

Patch by HellSpawn?, various fixes to spelling, brackets, function calls, et al

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/interbot.tcl

    r1082 r1111  
    154154        bMotion_putloglev 2 * "interbot: My score is $myScore" 
    155155 
    156         if {(![info exists $bMotion_interbot_nextbot_score($channel)]) || ($myScore > $bMotion_interbot_nextbot_score($channel))} { 
     156        if {(![info exists bMotion_interbot_nextbot_score($channel)]) || ($myScore > $bMotion_interbot_nextbot_score($channel))} { 
    157157                bMotion_putloglev 2 * "interbot: Actually, I have highest score on $channel, sending out reply" 
    158158                set bMotion_interbot_nextbot_score($channel) $myScore 
  • trunk/modules/plugins_settings.tcl

    r937 r1111  
    2121############################################################################### 
    2222 
    23 if {![info exists bMotion_plguins_settings]} { 
     23if {![info exists bMotion_plugins_settings]} { 
    2424  set bMotion_plugins_settings(dummy,setting,channel,nick) "dummy" 
    2525} 
  • trunk/modules/system.tcl

    r1109 r1111  
    201201        if {($timeNow - $mostRecent) < $gapTime} { 
    202202                set chance [rand 100] 
    203                 if ($chance > [bMotion_setting_get "awaychance"]) { 
     203                if {$chance > [bMotion_setting_get "awaychance"]} { 
    204204                        bMotion_putloglev 1 * "most recent is busy enough, not going away" 
    205205                        return 0 
     
    10851085# realise we overslept 
    10861086proc bMotion_overslept { { onlychan "" } } { 
    1087         global bMotionSettings BMOTION_SLEEP 
     1087        global bMotionSettings BMOTION_SLEEP bMotionChannels 
    10881088        if {[bMotion_setting_get "asleep"] != $BMOTION_SLEEP(OVERSLEEPING)} { 
    10891089                bMotion_putloglev d * "overslept timer fired but I wasn't oversleeping" 
  • trunk/plugins/en/action_complex_hands.tcl

    r966 r1111  
    143143        bMotion_plugins_settings_set "complexaction:hands" "coffee_nick" "" "" $nick 
    144144        bMotion_plugins_settings_set "complexaction:hands" "coffee_channel" "" "" $channel 
    145         utimer 45 { bMotion_plugin_complex_action_hands_finishcoffee } 
     145        utimer 45 bMotion_plugin_complex_action_hands_finishcoffee 
    146146        return 1 
    147147} 
  • trunk/plugins/en/complex_bitlbee.tcl

    r936 r1111  
    4242proc bMotion_plugin_complex_bitlbee3 { nick host handle channel text } { 
    4343        #we disconnected 
    44         if [bMotion_setting_get "bitlbee" { 
     44        if [bMotion_setting_get "bitlbee"] { 
    4545                #reconnect 
    4646                putserv "PRIVMSG $channel :account on 0" 
Note: See TracChangeset for help on using the changeset viewer.