summaryrefslogtreecommitdiffstats
path: root/config-default
diff options
context:
space:
mode:
authorLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2012-02-08 04:42:31 +0000
committerLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2012-02-08 04:42:31 +0000
commitce6aec8cbe6f6a20155b4020bd3e4e34931699c9 (patch)
treea73c2ddcf47e797c9f4389de23db7aaf470e3232 /config-default
parent899a7bcaa4bb34ae81bdcf5b4a0e09d6d563649b (diff)
added mship command to see what channels someone is on
Diffstat (limited to 'config-default')
-rw-r--r--config-default/commands.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/config-default/commands.xml b/config-default/commands.xml
index 7b8ecab..b6d4c6d 100644
--- a/config-default/commands.xml
+++ b/config-default/commands.xml
@@ -1,4 +1,9 @@
<commands>
+ <command cmd="^;mship (\S+)$" flag="c">
+ <![CDATA[
+ $conn->privmsg($event->{to}->[0], $1 . " is on: " . ASM::Util->commaAndify(@{$::sn{lc $1}->{mship}}));
+ ]]>
+ </command>
<command cmd="^;source$">
<![CDATA[
$conn->privmsg($event->{to}->[0], "source is at http://svn.linuxrulz.org/repos/antispammeta");