Starter- On Text

By supergeo on Mar 28, 2005

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

>
}

Comments

Sign in to comment.
Balta   -  May 02, 2009

ty punk..sry for posting here

 Respond  
PuNkTuReD   -  May 02, 2009

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
}
 Respond  
Balta   -  May 02, 2009

sry i'm not sure if this is where i ask for help :s

 Respond  
Balta   -  May 02, 2009

sry im having trouble doing this command if someone could help that would be great
ty in advance.

on *:TEXT:!set team :#sample:{
/msg #sample2 The team color has been set by $nick at $time to

the channels are different and i want people on sample2 to see it.

 Respond  
Balta   -  Apr 21, 2009

Ahh i see tyvm

 Respond  
PuNkTuReD   -  Apr 21, 2009
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

 Respond  
Balta   -  Apr 21, 2009

yea but i just want to be able to type .add and it adds it to the list instead of typing all that stuff..lol sry if i'm not being clear

 Respond  
PuNkTuReD   -  Apr 21, 2009

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.

BADWORDS

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.

 Respond  
Balta   -  Apr 21, 2009

on @:TEXT:.add*:#:{
/msg BotServ BADWORDS # ADD "the word i choose" Single 2

}

i Know this is not correct cos it dont work can someone help please :)

 Respond  
PuNkTuReD   -  Dec 24, 2008

yes
on the first line

on *:TEXT:hi:#development:{

change the channel name for a question mark

on *:TEXT:hi:?:{
 Respond  
envious1   -  Dec 24, 2008

Is there anyway of making this command work in a PM message?

 Respond  
supergeo   -  Mar 29, 2005

well the help section covers just about everything

 Respond  
xDaeMoN   -  Mar 28, 2005

Well isn\'t that the help file cover this? /help on text

 Respond  
supergeo   -  Mar 28, 2005

yea I know but I figured they would know the basics if they read the mIRC faq so I figured I didn\'t have to restate all of it, just give the basics.

 Respond  
DarthReven   -  Mar 28, 2005

little vague on your example

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.