comparison plugins/PERL-HOWTO @ 1734:dd78a230aa06

[gaim-migrate @ 1744] fun stuff committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 20 Apr 2001 23:04:48 +0000
parents 0ef4386edc29
children bf35d7227592
comparison
equal deleted inserted replaced
1733:4e51ddc6632f 1734:dd78a230aa06
58 "away" - the second arg is the away message 58 "away" - the second arg is the away message
59 "back" - no args. 59 "back" - no args.
60 "idle" - the second arg is how long (in seconds) to set the idle time 60 "idle" - the second arg is how long (in seconds) to set the idle time
61 (this sets the idle time for all connections) 61 (this sets the idle time for all connections)
62 "warn" - the second arg is the name of the person to warn. this is 62 "warn" - the second arg is the name of the person to warn. this is
63 especially evil since it warns the person from every connection. 63 especially evil since it warns the person from every
64 connection. The third argument is 1 if you want to warn
65 anonymously. If 0 or ommitted, it will warn normally.
66 "setinfo" - the second arg is what you want to set your profile to.
64 67
65 GAIM::user_info(nick) 68 GAIM::user_info(nick)
66 Returns 8 data items: 69 Returns 8 data items:
67 the screenname of the buddy 70 the screenname of the buddy
68 the alias of the buddy 71 the alias of the buddy
84 GETFILE 16 87 GETFILE 16
85 SENDFILE 32 88 SENDFILE 32
86 Since buddy lists are per-connection this goes through the connections 89 Since buddy lists are per-connection this goes through the connections
87 until it finds a matching buddy name. 90 until it finds a matching buddy name.
88 91
89 GAIM::print_to_conv(who, what) 92 GAIM::print_to_conv(who, what, auto)
90 The question is not what does this do, it's who does this do it as. The 93 The question is not what does this do, it's who does this do it as. The
91 answer is "whatever the default is". It uses whichever connection is 94 answer is "whatever the default is". It uses whichever connection is
92 selected in the conversation window's menu. If the conversation window 95 selected in the conversation window's menu. If the conversation window
93 didn't exist beforehand, then it's the default (first) connection. 96 didn't exist beforehand, then it's the default (first) connection. If
97 auto is one, it will send as an auto (read: away) message. If 0 or
98 ommitted, it will send normally.
94 99
95 GAIM::print_to_chat(room, what) 100 GAIM::print_to_chat(room, what)
96 This goes through each connection. If it finds a room matching the name, 101 This goes through each connection. If it finds a room matching the name,
97 it'll print the message to that room. 102 it'll print the message to that room.
98 103