egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

random message

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
glynn2105
Voice


Joined: 06 Apr 2008
Posts: 3

PostPosted: Sun Apr 06, 2008 4:03 pm    Post subject: random message Reply with quote

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
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Apr 06, 2008 5:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber