The file BOT.TXT



# bot.txt

######################################################################################

[conversation]
the section conversation allows you to configurate all messages for arriving and leaving a room.

bot = /kick %P $es no bots in this room please
a bot that arrives in room without having a toc will be kicked with this message

yoyo = /kick next time, you'll stay more than 15 secs in the room $gr stop coming and going
yoyo_sec = 15 ; seconds for leaving in room (yoyo)
a chatter without toc must stay in room at least 15 seconds (configurable) otherwise one says he's a yoyo and he gets kicked with this message to make him realize he's annoying. The 15 seconds can be changed (yoyo_sec =)
The yoyo function can be removed by putting a semicolon before the line yoyo=

proprio = tention, a room owner(h) arrives ;;)
This message is displayed when a room owner (gold toc) enters the room.

anim = tention, an administrator arrives ;;)
This message is displayed when someone with brown toc enters the room.

change = well well %P, it seems you changed your nick, you were %Q :o:o
This message is displayed when a chatter without toc has changed his nick. This text contains %P which replaces the new nick, and %Q which replaces the old one. This function, like all the functions of the bot, can be removed by putting a semicolon in front of the line.

join = Welcome in the room, %P :d You are %A years old :)
This welcome message is displayed when a chatter enters the room. You'll notice here the %A which replaces the age of the chatter. %A can also be used for all other messages.

cam = (*)(*)(*) %P (*)(*)(*) > < 20 sec to enable your (ca)
cam_sec = 20 ; seconds to turn on cam
cam_kick = /kick See you (ro)
these 3 parameters allow it to make the webcam mandatory, for chatters without toc. The first message asks to put the webcam, the last message kicks the chatter after the delay has elapsed and he has not enabled his cam. cam_sec allows to specify a duration in seconds.
This function, like all functions in this file, can be removed by putting semicolons in front of these lines.
A chatter can also go away (in cup) to avoid being kicked.

quitte = Bye %P, see you ;;)
This text is displayed when a chatter leaves the room.

discon = :s oups, %P has slipped !
This text is displayed when a user gets disconnected.


[conversation.f]
the section [conversation.f] allows to specify alternative messages to the section [conversation] in case of female nick.

anim = tention, an administrator(f) arrives ;;)
quitte = Bye %P (f), see you ;;)
discon = :s oups, %P has slipped $ba !

[tasse]
partir = ohhh, %P is going away :(
revenir = welcome back %P :p
leaving and coming back (cup).

[toc]
deposer = well, it's calm again here :p
drop a toc

brown = looks like someone will get kicked :s
chatter takes his brown toc

gold = tention, here's a room owner :d :d
chatter takes his golden toc

kick = aie aie aie, %P got kicked :s :s :s
someone just got kicked

!kick = /kick PAFFFFF ! $pa ; command !kick
when this message is set, the commande !kick "ps" is available.
It allows to kick any chatters whose nick begins with the characters "ps"

!ban = /kick $he[24h] ; command !ban
when this message is set, the commande !ban "ps" is available.
It allows to kick 24 hours any chatters whose nick begins with the characters "ps"

!tasse = /kick it's not a parking here!$gr ; command !tasse
when this message is set, the commande !tasse is available.
It allows to kick all cups (except tocs)


[toc.f]
The section [toc.f] allows to specify alternative messages to the section [toc] in case of female nick.

or = here comes a female room owner (f)(f)

[webcam]
allume = well, %P enables his webcam :p
eteint = why do you turn off your webcam, %P ?? :(

[webcam.f]
allume = well, %P enables her webcam :p

[micro]
parle = well, %P is talking on the mic (h)

[micro.f]
parle = hum, %P is talking with her sweet voice :p

######################################################################################

[mots]
The section [mots] allows to specify a list of words on which the bot reacts, either by a message, or by a kick by specifying /kick before the sentence.

this example shows 3 possible reactions to the word ice, the bot will choose one of them randomly :
ice = I like ice cream $gc $mi
   "  = I really like ice cream very much $gc $mi
   "  = I changed my mind, I hate ice cream :(
shit = shit ?? ;;c;;c;;c :s %P :@ no rude words here !!
ass = /kick %P :@ behave here ! [2min]

[mots.m]
age = %p is %A years old, lolll

[mots.f]
flower = %P likes (f)(f)(f)

######################################################################################

free figures (heart, rose, move, ...) can be drawn by the bot. Here are 2 examples (!heart and !dog) :

[!heart]
1=(l)(l)(l)(l)(l)(l)(l)(l)(l)(l)
2=(l)(l)(l):$:$:$(l)(l)(l)(l)
3=(l)(l):$(l)(l):$(l)(l)(l)(l)
4=(l)(l)(l)(l)(l):$(l)(l)(l)(l)
5=(l)(l):$(l)(l):$(l)(l)(l)(l)
6=(l)(l)(l):$:$(l)(l)(l)(l)(l)
7=(l)(l)(l):$:$(l)(l)(l)(l)(l)
8=(l)(l)(l):$(l)(l)(l)(l)(l)(l)
9=(l)(l)(l)(l)(l)(l)(l)(l)(l)(l)
10=(l)(l)(l)(l)(l)(l)(l)(l)(l)(l)
11=(l)(l)(l)(l)(l)(l)(l)(l)(l)(l)
12=(l)(l)(l)(l)(l)(l)(l)(l)(l)(l)
13=(l)(l)(l)(l)(l)(l)(l)(l)(l)(l)

[!dog]
1=(&)(&)(&)(&)(&)
2=(&)(&)(&)(&)(&)
3=(&)(&)(&)(&)(&)
4=(&)(&)(&)(&)(&)
5=(&)(&)(&)(&)(&)


; add other figures here (heart, dog, ...)
...

######################################################################################

; the mine game

[mine]
start = Welcome to the Mine game :) click on a square then on the Enter key :p
kick = /kickBOOM!$um

######################################################################################

Following texts are used by the game "action ou vérité".
To start the game, type !action ou !av (you must have a toc or having been the last to answer a question)

[action_verite]
start = *-)*-) well well, who's next *-), $nr %P ACTION...or VERITE $ri??
kick = /kick wake up, we're playing here, answer $gr
kick_sec = 40 ; seconds before kick
When someone doesn't answer after 40 seconds, he gets kicked to wake him. To remove the kick, put a semicolon before kick=


The following small sentenses are placed before each action or thruth asked to the chatters.

[action_verite.m]
action = %P $br (*) $h4
verite = %P $br (*) :m

[action_verite.f]
action = %P $br (*) $rb
verite = %P $br (*) :f

[action_verite.c]
action = %P $br (*) $h4
verite = %P $br (*) :m

######################################################################################

If you add questions, please understand correctly the 8 sections to put your sentences at the correct place.
Don't put questions in several sections !
If your sentences are acceptable for M and F, put them in the section common to M, F et C.

The following 8 sections exist :

[action] : actions for M, F or Couples
[action.m] : actions for M only
[action.f] : actions for F only
[action.c] : actions for Couples only

[verite] : thruths for M, F or Couples
[verite.m] : thruths for M only
[verite.f] : thruths for F only
[verite.c] : thruths for Couples only


; actions for Male, Female & Couples

[action]
1=send a picture of you to someone of the room
2=tell your latest adventure
3=sing a song
4=make a drawing and show it on cam

######################################################################################

; actions for Male only

[action.m]
1=ask a female to make you a compliment
2=touch your nose

######################################################################################

; actions for Female only

[action.f]
1=ask a male to make you a compliment
2=show your pretty eyes in cam

######################################################################################

; actions for Couple only

[action.c]
1=ask your man to kiss you

######################################################################################

; thruths for M, F & C

[verite]
1=If you could chose the job you want, what would it be ?
2=If you had a magic power, what should it be ?
3=You're offered money to sleep with someone, what's your answer ?
4=You've offered a great job at the other end of the world, what'd you do ?

######################################################################################

; thruths for M only

[verite.m]
1=(*) Having a car accident with your girlfriend's car, done or to do ?
2=(*) Describe the ideal woman

######################################################################################

; verites pour F seulement

[verite.f]
1=In a lingerie boutique, you buy for you or for your friend ? 1/ a black silken négligé 2/ a violet ensemble 3/ a red $cv 4/ a white night-gown
2=Describe the ideal man

######################################################################################

; thruths for Couples only

[verite.c]

######################################################################################



A. File Syntax

In the file, the characters # and ; must be doubled, i.e. ## and ;; because otherwise they're used to add a comment in the file.


B. Genre M, F or C

It's possible to specify different sentences following the genre of the nick (Masculin, Féminin, Couple) who causes the action, by specifying a suffix M, F or C at the end of the section name, for example [micro.F] here above. Without the suffix, the sentence applies to all 3 genres.


C. F5 key to reload the bot file

After having changed the file bot.txt with notepad, click on the bot window then press the key F5 to reload the file, this avoids stopping and restarting the bot.


D. Bot answers

In the bot answers, you'll notice the use of 3 special codes :
%p : is replaced by the nick who causes the action.
%P : is replaced by the emoticon + nick that causes the action.
%A : is replaced by the age of the person that causes the action.

Furthermore, the word /kick before an answer triggers a kick of the chatter who caused the action.
Macros can also be used in the bot answers, see the chapter macros of the chat.


E. section [Mots] - the words on which the bot reacts

The words on which the bot reacts can contain 3 special characters :
?replaces 1 non-blank character
*replaces 0 or more non-blank characters
%replaces 0 or more blank or non-blank characters

To illustrate all this, here are some examples:

[mots]
mdr* = you typed mdr followed by 0 or more characters, i.e. mdr, mdrrr, mdrrrrrire
vit? = you said vite or vita or vito ...
bon* jour* = you said bonne journée !
vous%mang* = your sentense starts by "vous" and ends with "mang" !
alta vista = you said "alta vista" :d




go back to previous page