Ticket #13 (new enhancement)
Stop using $bMotionCache
| Reported by: | james | Owned by: | james |
|---|---|---|---|
| Priority: | major | Milestone: | 0.2.0 |
| Component: | core modules | Version: | 0.0.9 |
| Keywords: | Cc: |
Description
Use plugins_settings_* instead, like [651] and #4 started to fix.
% grep -ri last * | grep Cache | grep -v svn
bMotion.tcl: set bMotionCache($letter,lastlog) ""
bMotion.tcl: set bMotionCache($letter,lastcount) 0
bMotion.tcl: if {$bMotionCache($level,lastlog) == $text} {
bMotion.tcl: incr bMotionCache($level,lastcount)
bMotion.tcl: if {$bMotionCache($level,lastcount) > 0} {
bMotion.tcl: putloglev $level $star "($level)Previous message repeated $bMotionCache($level,lastcount) time(s)"
bMotion.tcl: set bMotionCache($level,lastlog) $text
bMotion.tcl: set bMotionCache($level,lastcount) 0
modules/mood.tcl: set bMotionCache(lastHows) ""
modules/output.tcl: set bMotionCache($channel,last) 1
modules/output.tcl: set what [array get bMotionCache "lastruser$bot"]
modules/events_support.tcl: set bMotionCache(lastDoneFor) $nick
modules/events.tcl: set bMotionCache($channel,last) 0
modules/events.tcl: set bMotionCache(lastLeft) $nick
modules/events.tcl: set bMotionCache(lastLeft) $nick
modules/events.tcl: global bMotionLastEvent bMotionSettings botnicks bMotionCache bMotionInfo
modules/events.tcl: set bMotionCache($channel,last) 0
modules/events.tcl: if {![regexp -nocase $botnicks $text] && ($bMotionCache($channel,last) || [bMotion_setting_get "bitlbee"])} {
modules/events.tcl: if {[regexp -nocase "(i'm not talking to|not) you" $text] && $bMotionCache($channel,last)} {
modules/events.tcl: set bMotionCache($channel,last) 0
modules/events.tcl: set bMotionCache($channel,last) 0
modules/events.tcl: set bMotionCache(lastPlugin) $callback
modules/events.tcl: set bMotionCache($channel,last) 0
modules/variables.tcl: set bMotionCache(lastGreeted) ""
modules/variables.tcl: set bMotionCache(lastHows) ""
modules/variables.tcl: set bMotionCache(lastDoneFor) ""
modules/variables.tcl: set bMotionCache(lastLeft) ""
modules/variables.tcl: set bMotionCache(lastPlugin) ""
modules/variables.tcl: set bMotionCache(last_simple) ""
modules/plugins.tcl: if {$bMotionCache(last_simple) == $key} {
modules/plugins.tcl: set bMotionCache(last_simple) $key
modules/system.tcl: set bMotionCache($chan,last) 0
modules/system.tcl: if ($bMotionCache($channel,last)) {
plugins/en/complex_replicate.tcl: set bMotionCache(lastDoneFor) $nick
plugins/en/complex_replicate.tcl: set bMotionCache(lastDoneFor) $nick
plugins/en/complex_replicate.tcl: set bMotionCache(lastDoneFor) $nick
plugins/en/irc_nick_away.tcl: set bMotionCache(lastDoneFor) $nick
plugins/en/complex_sorry.tcl: #if {![regexp -nocase $nick $bMotionCache(lastEvil)]} {return 0}
plugins/en/complex_sorry.tcl: #set bMotionCache(lastEvil) ""
plugins/en/action_complex_pinch.tcl: #set bMotionCache(lastEvil) $nick
plugins/en/complex_smiley.tcl: if {$bMotionCache(lastPlugin) == "bMotion_plugin_complex_smiley"} {
plugins/en/complex_love.tcl: set bMotionCache(lastDoneFor) $nick
plugins/en/complex_love.tcl: set bMotionCache(lastDoneFor) $nick
plugins/en/complex_shocked.tcl: if {$bMotionCache($channel,last)} {
plugins/en/complex_sex.tcl: set bMotionCache(lastDoneFor) "$nick $forNick"
plugins/fr/action_complex_pinch.tcl: #set bMotionCache(lastEvil) $nick
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
