| View previous topic :: View next topic |
| Author |
Message |
glynn2105 Voice
Joined: 06 Apr 2008 Posts: 3
|
Posted: Sun Apr 06, 2008 4:03 pm Post subject: random message |
|
|
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 |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Apr 06, 2008 5:25 pm Post subject: |
|
|
Check out the code I wrote here. You can tweak it to suit your needs. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|