Changeset 257


Ignore:
Timestamp:
09/12/03 05:30:37 (8 years ago)
Author:
jamesoff
Message:

updated to use new abstracts system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/en/irc_join.tcl

    r99 r257  
    1212 
    1313 
    14 bMotion_plugin_add_irc_event "default join" "join" ".*" 80 "bMotion_plugins_irc_deafult_join" "en" 
     14bMotion_plugin_add_irc_event "default join" "join" ".*" 80 "bMotion_plugins_irc_default_join" "en" 
    1515 
    16 proc bMotion_plugins_irc_deafult_join { nick host handle channel text } {  
     16proc bMotion_plugins_irc_default_join { nick host handle channel text } {  
    1717 
    1818  #has something happened since we last greeted? 
     
    2626  } 
    2727 
    28   global ranjoins bigranjoins botnick mood 
     28  global botnick mood 
    2929  set chance [rand 10] 
    30   set greetings $ranjoins 
     30  set greetings [bMotion_abstract_all "ranjoins"] 
    3131  if {$chance > 8} { 
    3232    if [matchattr $handle I] { 
    33       set greetings [concat $greetings $bigranjoins] 
     33      set greetings [concat $greetings [bMotion_abstract_all "bigranjoins"] 
    3434      if {$nick == $bMotionCache(lastLeft)} { 
    35         set greetings $welcomeBacks 
     35        set greetings [bMotion_abstract_all "welcomeBacks"] 
    3636        set bMotionCache(lastLeft) "" 
    3737      } 
Note: See TracChangeset for help on using the changeset viewer.