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 

CTCP

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


Joined: 04 Apr 2008
Posts: 16

PostPosted: Wed May 05, 2010 1:50 pm    Post subject: CTCP Reply with quote

How can I send ctcp in tcl? Very Happy
thanks Very Happy
Back to top
View user's profile Send private message
arfer
Master


Joined: 26 Nov 2004
Posts: 436
Location: Manchester, UK

PostPosted: Wed May 05, 2010 3:32 pm    Post subject: Reply with quote

Using the partyline Tcl shell (needs to be enabled in the .conf file) :-

[20:27] <arfer> .tcl putserv "PRIVMSG McKay :\001VERSION\001"
[20:27] <Baal> Tcl:
[20:27] <Baal> [20:27] CTCP reply VERSION: eggdrop v1.6.19+ctcpfix from McKay (mckay@quickie.up.againstthewall.co.uk) to Baal

The ctcp delimiter \001 is briefly covered in the Tcl FAQ section of this forum under the thread heading of 'Color and text formatting codes'.

To capture the response programmatically, you would use a ctcr bind.
_________________
I must have had nothing to do
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 -> 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