source: tags/start/plugins/action_simple.tcl @ 1143

Revision 2, 980 bytes checked in by jamesoff, 9 years ago (diff)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1# bMotion simple action plugins
2#
3# $Id$
4#
5
6###############################################################################
7# This is a bMotion plugin
8# Copyright (C) James Michael Seward 2000-2002
9#
10# This program is covered by the GPL, please refer the to LICENCE file in the
11# distribution; further information can be found in the headers of the scripts
12# in the modules directory.
13###############################################################################
14
15#                         name  regexp            %   responses
16#bMotion_plugin_add_action_simple "licks" "(licks|bites) %botnicks" 100 [list "%VAR{rarrs}"]
17bMotion_plugin_add_action_simple "moo" "^(goes |does a )?moo+s?( at %botnicks)?" 40 [list "%VAR{moos}"] "all"
18
19
20# now autoload the rest from plugins/action_simple_*.tcl
21
22set files [glob -nocomplain "$bMotionPlugins/action_simple_*.tcl"]
23foreach f $files {
24  bMotion_putloglev 1 * "bMotion: loading simple action plugin file $f"
25  catch {
26    source $f
27  }
28}
Note: See TracBrowser for help on using the repository browser.