Changeset 1091
- Timestamp:
- 10/02/10 10:43:03 (20 months ago)
- File:
-
- 1 edited
-
trunk/modules/events.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/events.tcl
r1069 r1091 70 70 ### bMotion_event_onjoin 71 71 proc bMotion_event_onjoin {nick host handle channel} { 72 #ignore me 73 if [isbotnick $nick] { 74 return 0 75 } 76 77 #ignore the J flag users 78 if [matchattr $handle J] { 79 return 0 80 } 81 82 #ignore bots without the I flag 83 if [matchattr $handle b-I] { 84 return 0 85 } 86 87 if {![channel get $channel bmotion]} { 88 return 0 89 } 90 91 set result [bMotionDoEventResponse "join" $nick $host $handle $channel ""] 92 } 93 72 #ignore me 73 if [isbotnick $nick] { 74 return 0 75 } 76 77 #ignore the J flag users 78 if [matchattr $handle J] { 79 return 0 80 } 81 82 #ignore bots without the I flag 83 if [matchattr $handle b-I] { 84 return 0 85 } 86 87 if {![channel get $channel bmotion]} { 88 return 0 89 } 90 91 set result [bMotionDoEventResponse "join" $nick $host $handle $channel ""] 92 } 94 93 95 94 ### bMotion_event_onpart
Note: See TracChangeset
for help on using the changeset viewer.
