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.

random message

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
g
glynn2105
Voice
Posts: 3
Joined: Sun Apr 06, 2008 3:56 pm

random message

Post by glynn2105 »

hi im wondering if somebody can help me

I now have an eggdrop and would like a small snippet of irc code or similar to be made into a tcl code that would work. the irc code is simply this.

on *:TEXT:yes it was:#kwchat: msg $chan $read(random_yes_it_was.txt)

basically the bot will pick up a line of text in the text file and display that line into the chatroom. im wanting lots of replies in the text file to be read back to the main chat space
For example.

Glynn: Yes it was
Bot: no it wasnt dont tell lies

Please help me with this
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Check out the code I wrote here. You can tweak it to suit your needs.
Post Reply