Mercurial > ~mikael > mcabber > hg
comparison mcabber/doc/help/en/hlp_event.txt @ 1685:1342df44c814
Improved events interface
* User can pass additional arguments to event handler
* MUC invitation reject now can be supplied a reason
author | Myhailo Danylenko <isbear@ukrpost.net> |
---|---|
date | Tue, 02 Feb 2010 22:44:18 +0100 |
parents | 59b53fed6de1 |
children | a6d71ddf927f |
comparison
equal
deleted
inserted
replaced
1684:95df4ea512c8 | 1685:1342df44c814 |
---|---|
1 | 1 |
2 /EVENT #N|* accept|ignore|reject | 2 /EVENT #N|* accept|ignore|reject [event-specific arguments] |
3 /EVENT list | 3 /EVENT list |
4 | 4 |
5 Tell mcabber what to do about pending events. | 5 Tell mcabber what to do about pending events. |
6 If the first parameter is '*', the command will apply to all queued events. | 6 If the first parameter is '*', the command will apply to all queued events. |
7 Event-specific arguments will be interpreted on event-to event basis. The only built-in case, when argument is used is MUC invitation reject - argument, if present, will be interpreted as reject reason. | |
7 | 8 |
8 /event #N|* accept | 9 /event #N|* accept [event-specific arguments] |
9 Event number #N/All events will be accepted | 10 Event number #N/All events will be accepted |
10 /event #N|* ignore | 11 /event #N|* ignore [event-specific arguments] |
11 Event number #N/All events will be ignored | 12 Event number #N/All events will be ignored |
12 /event #N|* reject | 13 /event #N|* reject [event-specific arguments] |
13 Event number #N/All events will be rejected | 14 Event number #N/All events will be rejected |
14 /event list | 15 /event list |
15 List all pending events | 16 List all pending events |