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 

pasting colours though external script

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
wilson
Voice


Joined: 19 Nov 2005
Posts: 2

PostPosted: Sat Nov 19, 2005 1:42 pm    Post subject: pasting colours though external script Reply with quote

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


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Nov 19, 2005 1:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
wilson
Voice


Joined: 19 Nov 2005
Posts: 2

PostPosted: Sat Nov 19, 2005 2:10 pm    Post subject: Reply with quote

Your saying its not possible ? I'm totally shocked if that is the case.
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Nov 19, 2005 2:15 pm    Post subject: Reply with quote

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
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 -> Scripting Help 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