This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Help for those learning Tcl or writing their own scripts.
wilson
Voice
Posts: 2 Joined: Sat Nov 19, 2005 1:33 pm
Post
by wilson » Sat Nov 19, 2005 1:42 pm
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.
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sat Nov 19, 2005 1:58 pm
don't use shell script, use Tcl only
connection, sharing, dcc problems? click
<here>
before asking for scripting help, read
<this>
use
wilson
Voice
Posts: 2 Joined: Sat Nov 19, 2005 1:33 pm
Post
by wilson » Sat Nov 19, 2005 2:10 pm
Your saying its not possible ? I'm totally shocked if that is the case.
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sat Nov 19, 2005 2:15 pm
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