This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Tcl to read content of a txt file to nick

Old posts that have not been replied to for several years.
Locked
U
Unique

Post by Unique »

i have a txt file wich has multiline info
that i would like the bot to playback to a nick ....
can this be done and how?
User avatar
Yourname
Master
Posts: 358
Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto

Post by Yourname »

Hello,
I've tried making a script like that, but it putservs all what i want it to play to a nick, not a text file..
But the bot excess floods out, and im just not sure how to solve this problem.

Dont tell me to increase msgrate.
Dormant egghead.
U
Unique

Post by Unique »

well i found a script
that i ripped apart
http://www.egghelp.org/cgi-bin/tclarchi ... &results=1
hope this helps
U
Unique

Post by Unique »

use the last one i the list

and change the "notice to privmsg
and it worked for me
M
Mordred

Post by Mordred »

Yourname: replace your putserv commands with puthelp. As I understand puthelp stops you flooding yourself off.

As for dumping a text file to a user.. you could just use the dumpfile command. It says it messages although in my limited tests it uses notices, but it is a builtin command for handling such a scenario.
Locked