Mercurial > pidgin.yaz
diff plugins/PERL-HOWTO @ 2261:e243bf60f2d6
[gaim-migrate @ 2271]
Stefan Weyergraf and Artem Litvinovich both submitted patches that do similar things. I ended up taking Stefan's patch because it did more things than Artem's did.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 10 Sep 2001 22:27:47 +0000 |
parents | bf35d7227592 |
children | a49e8f1afbc4 |
line wrap: on
line diff
--- a/plugins/PERL-HOWTO Mon Sep 10 19:45:19 2001 +0000 +++ b/plugins/PERL-HOWTO Mon Sep 10 22:27:47 2001 +0000 @@ -89,6 +89,13 @@ Since buddy lists are per-connection this goes through the connections until it finds a matching buddy name. +GAIM::write_to_conv(to, wflags, what, who) + This displays a message into a conversation window. <wflags> is the + message-style and works like that: + wflags==0: display message as if received by <who> + wflags==1: display message as if sent by <who> + wflags==2: display system message + GAIM::print_to_conv(who, what, auto) The question is not what does this do, it's who does this do it as. The answer is "whatever the default is". It uses whichever connection is @@ -101,6 +108,8 @@ This goes through each connection. If it finds a room matching the name, it'll print the message to that room. +GAIM::serv_send_im(who, what, auto) + Same as print_to_conv, but it does not display the message. GAIM::add_event_handler(event, function) This is the most important of them all. This is basically exactly like