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 

how do I do an action with tcl?

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


Joined: 01 Apr 2018
Posts: 30

PostPosted: Fri Apr 06, 2018 8:20 pm    Post subject: how do I do an action with tcl? Reply with quote

the normal IRC action command is /me .. well..

Code:
 /me asks for help


how do I make that in tcl?

Code:
privmsg $chan


is not correct as it is just a statement.

And I know I didn't write out the whole thing but privmsg is wrong anyway
Back to top
View user's profile Send private message
Arnold_X-P
Op


Joined: 30 Oct 2006
Posts: 166
Location: DALnet - Trinidad - Beni - Bolivia

PostPosted: Fri Apr 06, 2018 10:38 pm    Post subject: Re: how do I do an action with tcl? Reply with quote

for actions use;

Code:
 putserv "PRIVMSG $chan :\001ACTION asks for help."

_________________
Very Happy thanks to that they help, that others learn Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Draknon
Voice


Joined: 01 Apr 2018
Posts: 30

PostPosted: Fri Apr 06, 2018 11:51 pm    Post subject: Re: how do I do an action with tcl? Reply with quote

Thanks a lot, I couldn't find that anywhere
Back to top
View user's profile Send private message
willyw
Owner


Joined: 15 Jan 2009
Posts: 970

PostPosted: Sat Apr 07, 2018 12:19 pm    Post subject: Re: how do I do an action with tcl? Reply with quote

Draknon wrote:
Thanks a lot, I couldn't find that anywhere


I gave you a link just the other day. Smile

http://suninet.the-demon.de/

and then:

http://suninet.the-demon.de/a2.htm

Quote:

The "ACTION" type is what you get when you use the command "/me" in mIRC or BitchX for example.
For example if you want to get "/me feels tired." the syntax would be putserv "PRIVMSG <nickname/channel> :\001ACTION feels tired.".


Smile
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
Draknon
Voice


Joined: 01 Apr 2018
Posts: 30

PostPosted: Sat Apr 07, 2018 11:21 pm    Post subject: Reply with quote

thanks for thinking I also was fluent in mirc language enough to know that the /me would be a CTCP I had no idea it was till I got the \001ACTION command. and again, thanks for the help.
Back to top
View user's profile Send private message
willyw
Owner


Joined: 15 Jan 2009
Posts: 970

PostPosted: Sat Apr 07, 2018 11:28 pm    Post subject: Reply with quote

Draknon wrote:
thanks for thinking I also was fluent in mirc language enough to know that the /me would be a CTCP I had no idea it was till I got the \001ACTION command. and again, thanks for the help.


Oh, I didn't think that at all. Smile

I just knew it was in there, in the material on that web site that I'd given you the link for.
Maybe you didn't really mean, "I couldn't find that anywhere" ?
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
Draknon
Voice


Joined: 01 Apr 2018
Posts: 30

PostPosted: Mon Apr 09, 2018 8:17 pm    Post subject: Reply with quote

Thanks for all the help.. I got it done.. Smile
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