Regarding codes used for Pidgin

Ethan Blanton elb at pidgin.im
Mon May 25 12:05:08 EDT 2009


Jo-Erlend Schinstad spake unto us the following wisdom:
> 2009/5/25 David Balazic <David.Balazic at hermes-softlab.com>:
> > Ethan Blanton wrote>
> >> Not exactly.  Pidgin interprets any incoming message of the form "/me
> >> foo" as an emote.  You're actually sending "/me foo" to the channel,
> >> your Pidgin is simply displaying it the same as it would a CTCP
> >> ACTION.
> >
> > Why would it do that ?
> 
> This sounds strange. There will never be any incoming commands in the
> form "/me description". /me is simply a CTCP ACTION message, which is
> a PRIVMSG message. So, if I would send a /me to a channel, then everyone
> in the channel -- except me, the sender -- would receive

The point of your message is not clear, but ... I think your confusion
comes from the wording of my message, and perhaps the way Pidgin
operates.  We send our own outgoing messages up from the prpl, as well
as incoming messages.  As you seem to be saying below (?), IRC does
not echo our messages back to us.  Pidgin does not know whether the
incoming messages came from the wire or were generated locally,
however, so *outgoing* /me messages are interpeted in the same
fashion.

> :mynick!myuser at myhost PRIVMSG #ourChannel :<ascii 1>ACTION some
> description<ascii 1>
>
> If I used "/say /me foo", then the channel should receive:
> 
> :mynick!myuser at myhost PRIVMSG #outChannel :/me foo

These are precisely what does happen in these instances.

> The IRC protocol spesifies that you can never know if your messages
> have been sent, received or read. You can wait for error messages, but
> they might arrive several minutes after you sent the message, so
> that's not a good idea either. So, if you want to handle ctcp actions,
> then you really have to interpret them locally.
>
> But what on earth has /say got to do with any of this?

I don't understand what you mean here, what is the problem?

Ethan

-- 
The laws that forbid the carrying of arms are laws [that have no remedy
for evils].  They disarm only those who are neither inclined nor
determined to commit crimes.
		-- Cesare Beccaria, "On Crimes and Punishments", 1764
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 481 bytes
Desc: Digital signature
URL: <http://pidgin.im/pipermail/support/attachments/20090525/52163ff3/attachment.sig>


More information about the Support mailing list