Changeset 257
- Timestamp:
- 09/12/03 05:30:37 (8 years ago)
- File:
-
- 1 edited
-
trunk/plugins/en/irc_join.tcl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/en/irc_join.tcl
r99 r257 12 12 13 13 14 bMotion_plugin_add_irc_event "default join" "join" ".*" 80 "bMotion_plugins_irc_de afult_join" "en"14 bMotion_plugin_add_irc_event "default join" "join" ".*" 80 "bMotion_plugins_irc_default_join" "en" 15 15 16 proc bMotion_plugins_irc_de afult_join { nick host handle channel text } {16 proc bMotion_plugins_irc_default_join { nick host handle channel text } { 17 17 18 18 #has something happened since we last greeted? … … 26 26 } 27 27 28 global ranjoins bigranjoinsbotnick mood28 global botnick mood 29 29 set chance [rand 10] 30 set greetings $ranjoins30 set greetings [bMotion_abstract_all "ranjoins"] 31 31 if {$chance > 8} { 32 32 if [matchattr $handle I] { 33 set greetings [concat $greetings $bigranjoins]33 set greetings [concat $greetings [bMotion_abstract_all "bigranjoins"] 34 34 if {$nick == $bMotionCache(lastLeft)} { 35 set greetings $welcomeBacks35 set greetings [bMotion_abstract_all "welcomeBacks"] 36 36 set bMotionCache(lastLeft) "" 37 37 }
Note: See TracChangeset
for help on using the changeset viewer.
