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.

how do I do an action with tcl?

Help for those learning Tcl or writing their own scripts.
Post Reply
D
Draknon
Voice
Posts: 30
Joined: Sun Apr 01, 2018 8:24 am

how do I do an action with tcl?

Post by Draknon »

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

Code: Select all

 /me asks for help 
how do I make that in tcl?

Code: Select all

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
User avatar
Arnold_X-P
Master
Posts: 226
Joined: Mon Oct 30, 2006 12:19 am
Location: DALnet - Trinidad - Beni - Bolivia
Contact:

Re: how do I do an action with tcl?

Post by Arnold_X-P »

for actions use;

Code: Select all

 putserv "PRIVMSG $chan :\001ACTION asks for help." 
.:an ideal world:. www.geocities.ws/chateo/yo.htm
my programming place /server ix.scay.net:7005
D
Draknon
Voice
Posts: 30
Joined: Sun Apr 01, 2018 8:24 am

Re: how do I do an action with tcl?

Post by Draknon »

Thanks a lot, I couldn't find that anywhere
w
willyw
Revered One
Posts: 1196
Joined: Thu Jan 15, 2009 12:55 am

Re: how do I do an action with tcl?

Post by willyw »

Draknon wrote:Thanks a lot, I couldn't find that anywhere
I gave you a link just the other day. :)

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

and then:

http://suninet.the-demon.de/a2.htm
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.".
:)
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
D
Draknon
Voice
Posts: 30
Joined: Sun Apr 01, 2018 8:24 am

Post by Draknon »

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.
w
willyw
Revered One
Posts: 1196
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

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. :)

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 !
D
Draknon
Voice
Posts: 30
Joined: Sun Apr 01, 2018 8:24 am

Post by Draknon »

Thanks for all the help.. I got it done.. :)
Post Reply