Anope IRC Services

Anope Development => Feature Requests => Topic started by: cirinho on January 03, 2013, 08:58:21 PM

Title: create os_uevent module
Post by: cirinho on January 03, 2013, 08:58:21 PM
The OS UEVENT command allows to program actions to be executed when specific user actions are executed.

To add an event:
/OperServ UEVENT ADD [+time] ON_event(parameter) action action_param

To list events
/OperServ UEVENT LIST

To delete an event:
/OperServ UEVENT DEL id

To list the available events type:
/OperServ HELP UEVENT EVENTS

To list the available actions type:
/OperServ HELP UEVENT ACTIONS



/OperServ HELP UEVENT EVENTS
Availale event types:
ON_CONNECT(mask)  - User connects matching mask
ON_JOIN(chan)     - User joins a channel (masks are allowed)
ON_LOGIN(mask)    - User logins/identifies matching mask
ON_REGISTER(mask) - User registers nick matching mask



/OperServ HELP UEVENT ACTIONS
Available actions:
MESSAGE message   - Send private message to user
NOTICE messsage   - Send notice to user
GLINE reason      - Gline user's host for 1 day, with reason
UMODE modes       - Set umodes on user
JOIN chan         - Make the user join channel
KILL reason       - Kill the user with a reason
PART chan         - Make a user part channel