Ignore:
Timestamp:
12/09/09 19:00:33 (2 years ago)
Author:
james
Message:

allow actions to be expressed in stars instead of a /me sometimes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/output.tcl

    r1051 r1057  
    115115        set channel [chandname2name $channel] 
    116116        if {$urgent} { 
    117                 bMotion_queue_add_now $channel "\001ACTION $action\001" 
     117                if [rand 10] { 
     118                        bMotion_queue_add_now $channel "\001ACTION $action\001" 
     119                } else { 
     120                        bMotion_queue_add_now $channel "*$action*" 
     121                } 
    118122        } else { 
    119                 bMotion_queue_add $channel "\001ACTION $action\001" 
     123                if [rand 10] { 
     124                        bMotion_queue_add $channel "\001ACTION $action\001" 
     125                } else { 
     126                        bMotion_queue_add $channel "*$action*" 
     127                } 
    120128        } 
    121129} 
Note: See TracChangeset for help on using the changeset viewer.