I made this as a frame for users to put an on text command. I'm going to show an example too.
;on *:TEXT:hi:#development:{
;msg #development Hi $nick $+ }
;All you have to fill out is the command you want to happen, the words
;You want to trigger the event, and the channel. Well, here's the skeleton
on *:TEXT:<text here>:#(Channel name here without #):{
<commands here
>
}
here is the forum for asking for help
http://www.hawkee.com/phpBB2/viewforum.php?f=1
; Syntax: !set team <color>
; Example: !set team 4
on *:TEXT:!set team *:#sample: {
set %team.color $3
/msg #sample2 The team color has been set by $nick at $time to $3
}
on *:text:*:#: {
; If this isnt the nick you use on irc, change it
if ($nick == Balta)
;This will only kick if they say the whole word
if (.add == $strip($1)) { msg BotServ BADWORDS # ADD $2 SINGLE }
}
}
example:
if the bad word is: crap
if they say: crap they will get kicked
but if they say: crapper they will not
if you remove the SINGLE
it will apply to all
http://www.technerd.net/botserv.html
KICK BADWORDS
Syntax: /msg BotServ KICK #channel BADWORDS {ON|OFF} [ttb]
Sets the bad words kicker on or off. When enabled, this
option tells the bot to kick users who say certain words
on the channels.
You can define bad words for your channel using the
BADWORDS command. Type /msg BotServ HELP BADWORDS for
more information.
ttb is the number of times an user can be kicked
before it get banned. Don't give ttb to disable
the ban system once activated.
Syntax: /msg BotServ BADWORDS channel ADD word [SINGLE | START | END]
BADWORDS channel DEL {word | entry-num | list}
BADWORDS channel LIST [mask | list]
BADWORDS channel CLEAR
Maintains the bad words list for a channel. The bad
words list determines which words are to be kicked
when the bad words kicker is enabled. For more information,
type /msg BotServ HELP KICK BADWORDS.
The BADWORDS ADD command adds the given word to the
badword list. If SINGLE is specified, a kick will be
done only if an user says the entire word. If START is
specified, a kick will be done if an user says a word
that starts with word. If END is specified, a kick
will be done if an user says a word that ends with
word. If you don't specify anything, a kick will
be issued every time word is said by an user.
The BADWORDS DEL command removes the given word from the
bad words list. If a list of entry numbers is given, those
entries are deleted. (See the example for LIST below.)
The BADWORDS LIST command displays the bad words list. If
a wildcard mask is given, only those entries matching the
mask are displayed. If a list of entry numbers is given,
only those entries are shown; for example:
BADWORDS #channel LIST 2-5,7-9
Lists bad words entries numbered 2 through 5 and
7 through 9.
The BADWORDS CLEAR command clears all entries of the
bad words list.