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 

Formatting messages told by a bash script.

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


Joined: 18 Mar 2010
Posts: 10

PostPosted: Tue Dec 07, 2010 1:39 pm    Post subject: Formatting messages told by a bash script. Reply with quote

Hi,
The thing is I want my eggdrop bot to display messages that would be told by a bash script I have on a different server. It seems to be a simple job but I have no experience with eggdrop/tcl so I canīt do much about it.

What people told me to do was to make eggdrop listen on some port and then telnet the info to it although I have no idea how to do that.

Regards.

EDIT: Some user pointed me to this thread http://forum.egghelp.org/viewtopic.php?p=86819 which almost solved my problem but Iīd like the messages that I send to my bot to be formatted and if I send a message like:
(See the posted thread to understand this)
Code:
echo "write #mychan \002Bold text\002" | nc localhost 12345


My bot will display \002Bold text\002 instead of Bold text
Back to top
View user's profile Send private message
Trixar_za
Op


Joined: 18 Nov 2009
Posts: 143
Location: South Africa

PostPosted: Wed Dec 08, 2010 5:06 am    Post subject: Reply with quote

You have to use the bold character 'block' () instead of the \00 type codes.
_________________
http://www.trixarian.net/Projects
Back to top
View user's profile Send private message Visit poster's website
sadnem
Voice


Joined: 18 Mar 2010
Posts: 10

PostPosted: Wed Dec 08, 2010 9:55 am    Post subject: Reply with quote

That was it, thank you Wink
Back to top
View user's profile Send private message
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