Changeset 288


Ignore:
Timestamp:
09/20/03 14:00:38 (8 years ago)
Author:
jamesoff
Message:

fixed interbot queuing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/output.tcl

    r276 r288  
    581581 
    582582    #check if it needs to go to a bot 
    583     if [regexp {(\[#!\][^ ]+) %BOT\[(.+?)\] (.+)} $next matches channel cmd bot] { 
     583    if [regexp {([#!][^ ]+) %BOT\[(.+?)\] (.+)} $next matches channel cmd bot] { 
     584      putlog "yes" 
    584585      bMotion_putloglev 2 * "bMotion: matched 100% bot command for channel $channel -> $cmd" 
    585586      global bMotionQueue 
     
    589590    } 
    590591 
    591     if [regexp {(\[#!\][^ ]+) %bot\[([[:digit:]]+),(.+?)\] (.+)} $next matches channel chance cmd bot] { 
     592    if [regexp {([#!][^ ]+) %bot\[([[:digit:]]+),(.+?)\] (.+)} $next matches channel chance cmd bot] { 
    592593      #push to a bot 
    593594      bMotion_putloglev 2 * "bMotion: matched $chance% bot command for channel $channel -> $cmd" 
Note: See TracChangeset for help on using the changeset viewer.