Changeset 1013


Ignore:
Timestamp:
06/26/09 07:38:00 (3 years ago)
Author:
james
Message:

add !sound trigger

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/abstracts/en/abstracts.tcl

    r1010 r1013  
    38263826        "%VAR{sounds} %VAR{sounds}%|/giggles" 
    38273827        "%VAR{sounds} %VAR{sounds}" 
     3828} 
     3829 
     3830bMotion_abstract_register "sound_short" { 
     3831        "%VAR{sounds} %VAR{sounds} %VAR{sounds} %VAR{sound2}" 
    38283832} 
    38293833 
  • trunk/plugins/en/complex_general.tcl

    r956 r1013  
    1717bMotion_plugin_add_complex "test2" "^%botnicks:? test2$"         100     "bMotion_plugin_complex_test2" "en" 
    1818bMotion_plugin_add_complex "opme" "^!?op ?me$"               100     "bMotion_plugin_complex_opme" "en" 
     19bMotion_plugin_add_complex "sound" "^!sound" 100 bMotion_plugin_complex_sound "en" 
    1920 
    2021 
     
    5253  return 0 
    5354} 
     55 
     56proc bMotion_plugin_complex_sound { nick host handle channel text} { 
     57        bMotionDoAction $channel $nick "%VAR{sound_short}" 
     58        return 1 
     59} 
Note: See TracChangeset for help on using the changeset viewer.