plugins/PERL-HOWTO

changeset 3280
8a7320232fae
parent 2536
84dd244c1b98
child 3456
915542b9877e
equal deleted inserted replaced
3279:60aa1a4f9128 3280:8a7320232fae
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

mercurial