comparison plugins/PERL-HOWTO @ 2512:bf7ec3874810

[gaim-migrate @ 2525] Artem Litvinovich's patch committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 15 Oct 2001 20:08:15 +0000
parents a83b4a5ffcd6
children 0e0a54e5819a
comparison
equal deleted inserted replaced
2511:a83b4a5ffcd6 2512:bf7ec3874810
134 event_im_recv, event_chat_send, and event_chat_recv). To short-circuit an 134 event_im_recv, event_chat_send, and event_chat_recv). To short-circuit an
135 event simply return a non-0 value. This will cause all subsequent scripts 135 event simply return a non-0 value. This will cause all subsequent scripts
136 and the event itself to never happen (i.e. the user won't see it happen, 136 and the event itself to never happen (i.e. the user won't see it happen,
137 and _send events won't actually send). 137 and _send events won't actually send).
138 138
139 GAIM::add_timeout_handler(integer, function) 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
143 optional.