| View previous topic :: View next topic |
| Author |
Message |
sadnem Voice
Joined: 18 Mar 2010 Posts: 10
|
Posted: Tue Dec 07, 2010 1:39 pm Post subject: Formatting messages told by a bash script. |
|
|
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 |
|
 |
Trixar_za Op

Joined: 18 Nov 2009 Posts: 143 Location: South Africa
|
Posted: Wed Dec 08, 2010 5:06 am Post subject: |
|
|
You have to use the bold character 'block' () instead of the \00 type codes. _________________ http://www.trixarian.net/Projects |
|
| Back to top |
|
 |
sadnem Voice
Joined: 18 Mar 2010 Posts: 10
|
Posted: Wed Dec 08, 2010 9:55 am Post subject: |
|
|
That was it, thank you  |
|
| Back to top |
|
 |
|