|
From: Sean E. <sea...@us...> - 2002-05-29 01:44:42
|
Update of /cvsroot/gaim/gaim/plugins In directory usw-pr-cvs1:/tmp/cvs-serv31301/plugins Modified Files: PERL-HOWTO Log Message: Perl can play sounds! Index: PERL-HOWTO =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/PERL-HOWTO,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- PERL-HOWTO 18 Oct 2001 12:12:36 -0000 1.13 +++ PERL-HOWTO 29 May 2002 01:44:39 -0000 1.14 @@ -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 |