Changeset 1062 for trunk/modules/output.tcl
- Timestamp:
- 01/16/10 09:06:36 (2 years ago)
- File:
-
- 1 edited
-
trunk/modules/output.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/output.tcl
r1057 r1062 114 114 bMotion_putloglev 5 * "mee ($channel, $action, $urgent)" 115 115 set channel [chandname2name $channel] 116 regsub "^\"(.+)\"?$" $action {\1} action 117 if {([string index $action 0] != ".") && ([rand 10] == 0)} { 118 set action "*$action*" 119 } else { 120 set action "\001ACTION $action\001" 121 } 122 116 123 if {$urgent} { 117 if [rand 10] { 118 bMotion_queue_add_now $channel "\001ACTION $action\001" 119 } else { 120 bMotion_queue_add_now $channel "*$action*" 121 } 124 bMotion_queue_add_now $channel $action 122 125 } else { 123 if [rand 10] { 124 bMotion_queue_add $channel "\001ACTION $action\001" 125 } else { 126 bMotion_queue_add $channel "*$action*" 127 } 126 bMotion_queue_add $channel $action 128 127 } 129 128 }
Note: See TracChangeset
for help on using the changeset viewer.
