comparison plugins/PERL-HOWTO @ 3280:c98c1e0281ff

[gaim-migrate @ 3298] Perl can play sounds! committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 29 May 2002 01:44:40 +0000
parents 0e0a54e5819a
children b48065e52337
comparison
equal deleted inserted replaced
3279:86fdd015f40e 3280:c98c1e0281ff
139 GAIM::add_timeout_handler(integer, function, args) 139 GAIM::add_timeout_handler(integer, function, args)
140 This calls function after integer number of seconds. It only calls function 140 This calls function after integer number of seconds. It only calls function
141 once, so if you want to keep calling function, keep readding the handler. 141 once, so if you want to keep calling function, keep readding the handler.
142 Args is a string that you'd like to have passed to your timeout handler; it's 142 Args is a string that you'd like to have passed to your timeout handler; it's
143 optional. 143 optional.
144
145 GAIM::play_sound(int sound)
146 Plays a sound using whatever method the user has selected. The argument is
147 one of the following numbers:
148
149 0 Buddy logs in
150 1 Buddy logs out
151 2 Message received
152 3 Message received begins conversation
153 4 Message sent
154 5 Person enters chat
155 6 Person leaves chat
156 7 You talk in chat
157 8 Others talk in chat
158 9 Default buddy pounce sound
159 10 Someone says your name in chat