Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: create os_uevent module  (Read 4179 times)

0 Members and 1 Guest are viewing this topic.

cirinho

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • vIRCio.org
    • vIRCio.org
create os_uevent module
« 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
Logged
Pages: [1]   Go Up