Next: , Previous: , Up: Top [Contents][Index]


9 Hooks

Through Hooks facility Freetalk lets you steal its control at various important junctures during execution.

hook: ft-message-send-hook buddy message

Hook procedure is called with buddy and message as arguments on every send message operation.

Supporting primitives:

Example:

hook: ft-message-receive-hook buddy message

Hook procedure is called with buddy and message as arguments on every receive message operation.

Supporting primitives:

Example:

hook: ft-presence-receive-hook buddy message timestamp

Hook procedure is called with buddy, message and timestamp recieve the presence.

Supporting primitives:

Example:

hook: ft-disconnect-hook

Supporting primitives:

Example:

AltStyle によって変換されたページ (->オリジナル) /