mIRC Home    About    Download    Register    News    Help

Print Thread
#132988 16/10/05 10:50 AM
F
farky
farky
F
hi
i need help with making a talk-bot
the bot will log everything to a file, for example 1.txt, and then randomly it will say it.

Code:
/timer1 0 100 /msg #xy $read(1.txt)  

so i need help with :
how to make the bot to log messages to a file, and how to do that, to say that in random seconds, for example 100-200.
thx for help

PS: i found how to do that, to log it, but my bot writes <Nickname> too, but i dun want it!

Last edited by farky; 16/10/05 10:57 AM.
#132989 16/10/05 11:14 AM
O
Om3n
Om3n
O
on *:text:*:*: { write 1.txt $1- }

#132990 16/10/05 03:24 PM
Joined: Sep 2005
Posts: 2,630
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,630
You should use $!read(1.txt,n) so identifiers in the text aren't evaluated.


Link Copied to Clipboard