| View previous topic :: View next topic |
| Author |
Message |
wilson Voice
Joined: 19 Nov 2005 Posts: 2
|
Posted: Sat Nov 19, 2005 1:42 pm Post subject: pasting colours though external script |
|
|
I want to paste colours onto irc, but the eggdrop ends up pushing raw commands onto irc.
tcl contains:
set output [exec /bin/rank.sh]
putquick "PRIVMSG $chan :$output"
my bash script contains :
echo \\0034TV\\003
which if run in the shell returns:
./rank.sh
\0034TV\003
On irc, unforunatly the RAW text is output including "\". Looking at some of the other posts I saw subst mentioned. |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Nov 19, 2005 1:58 pm Post subject: |
|
|
don't use shell script, use Tcl only _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
wilson Voice
Joined: 19 Nov 2005 Posts: 2
|
Posted: Sat Nov 19, 2005 2:10 pm Post subject: |
|
|
| Your saying its not possible ? I'm totally shocked if that is the case. |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Nov 19, 2005 2:15 pm Post subject: |
|
|
everything's possible, you could dump stuff on IRC using Ada or PL/SQL, but that's not the point here - the point is this forum is for Tcl scripting, not for shell scripting, so piping shell scripts through Tcl is off-topic _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
|