Skip to content
MSN

bot talk

A TG007 community discussion started by Snoop.

Discussion 16 posts
Page 1 of 1
Open
Topic #4710 · 16 published posts · 898 views

Hi guys, i'm wondering if u can write me a smart code for a bot talk, talks in the room each 5 or 10 seconds , with an active + deactive botton , i would be appreciated , i tried to do this command ,, but i found out that it reads only one line nor rand ,,

can u explain this a little better lol

Spam Honeypot - http://www.haggistech.co.uk/honey(humans do not register)

Well if u mean like this

 

@bottalk on

 

@bot talk off u can use this

 

 

on *:TEXT:`bottalk on:#:{
.enable #bottalk| /msg $chan Bot Talk is now On.
}
on *:TEXT:`bottalk off:#:{
.disable #bottalk| /msg $chan Bot Talk is now off.

 

u can use them to turn the bot talk on and all then all u need to do is put

 

#bottalk on <<-- at the top of the txt file

And

#bottalk end <<-- at the bottom

 

eg

 

#bottalk on

on *:text:hi:#:{ /msg $chan Hello
on *:text:hello:#:{ /msg $chan Hello
on *:text:hey:#:{ /msg $chan Hello

#bottalk end

 

that will work is that is what u mean

and if u want to message a room evary 5 or 10 seconds or so u can always use a advertisement dialog.

 

there is a few avalible on the techgear downloads section

 

 

thanX SnowX

bottalk but with timer's so the script talks on timing alone in a group not on text response

try using this

-------------------------------------------------------------

on Admin:TEXT:@bottalk on:#: {

.timer 0 10 msg $chan $read(talks.txt)

}

on Admin:TEXT:@bottalk off:#: {

.timers off

}

-------------------------------------------------------

"talks.txt" can be changed to what ever file you want the script to read from.

"Admin" can be changed to what ever level you have set...

Ignorance Is Bliss

yes that will work nice

Naah not working ,, and as i told ya, it reads the same line ,, this is the error that i get

 

13:29:20 ] -> *17* f female here anyone wanna chat ?

-

17 No such nick/channel

-

[ 13:29:30 ] -> *17* f female here anyone wanna chat ?

-

17 No such nick/channel

-

[ 13:29:40 ] -> *17* f female here anyone wanna chat ?

-

17 No such nick/channel

-

[ 13:29:50 ] -> *17* f female here anyone wanna chat ?

might need to use $!chr(37) $!+ $right($chan,-1) instead of $chan for timers

try using $msn.get($cid,fullroom)

"the important thing was, that i had an onion on my belt, which was the style at the time"

ok Seph it worked, but i still have a problem , the code only reads and repeats one line from the text file, how can i fix that,

hmm not sure... u have them in the file like so..?

 

text

text

text

ect...

try making it

$read talks.ini

instead of

$read(talks.ini)

--------

that might make a difference !!

Ignorance Is Bliss

on Admin:TEXT:@bottalk on:#: {
.timer 0 10 msg $chan $read(talks.txt,$iif(!$readn,1,$iif($readn,$iif($readn >= $lines(talks.txt),1,$rand(1,$lines(talks.txt))))))
}
on Admin:TEXT:@bottalk off:#: {
.timers off
}

I am confused reading this posting when I am not in my room I leave the bot

 

talk on in my script for members coming in and out of the room. When I am in the

 

room I switch the bot talk off so it doesn’t interfer wiv the chat .

 

The other question is if I put this code into the script do I put it in remote.

 

 

 

lol , yeah just paste it in remote