diff 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
line wrap: on
line diff
--- a/plugins/PERL-HOWTO	Wed May 29 01:23:38 2002 +0000
+++ b/plugins/PERL-HOWTO	Wed May 29 01:44:40 2002 +0000
@@ -141,3 +141,19 @@
 	once, so if you want to keep calling function, keep readding the handler.
 	Args is a string that you'd like to have passed to your timeout handler; it's
 	optional.
+
+GAIM::play_sound(int sound)
+	Plays a sound using whatever method the user has selected. The argument is
+	one of the following numbers:
+
+	0	Buddy logs in
+	1	Buddy logs out
+	2	Message received
+	3	Message received begins conversation
+	4	Message sent
+	5	Person enters chat
+	6	Person leaves chat
+	7	You talk in chat
+	8	Others talk in chat
+	9	Default buddy pounce sound
+	10	Someone says your name in chat