Actions how-to
Introduction
This document provides step-by-step guides on how to do various things with the DMDirc actions system. If you want to do something that isn't detailed here (and you can't figure out how to do it), please join us in #DMDirc on Quakenet (irc.quakenet.org), and we'll give you a hand.
If you open the actions manager and the New Action button is disabled, you will need to create a new action group first. Press the Add Group button, enter a name (such as my actions) and click OK.
How to auto-connect to a server when DMDirc starts
- Open the actions manager (Settings→Action Manager)
- Press the New Action button
- Enter a name for the action (the exact name doesn't matter; something like startup will do)
- For the Primary trigger select Client Opened
- Select the Response tab
- In the Execute the following commands: text area, enter one or more /newserver commands, with each command on a new line
- Press OK
- Press Close
How to stop people's auto-away actions being displayed
- Open the actions manager (Settings→Action Manager)
- Press the New Action button
- Enter a name for the action (the exact name doesn't matter; something like auto-away will do)
- For the Primary trigger select Channel action received
- Select the Conditions tab
- Press the New button
- For the Argument select message
- For the Component select content
- For the Comparison select contains
- For the Target enter auto-away
- Select the Response tab
- From the Formatter list select No response
- Press OK
- Press Close
How to stop channels being coloured when people use auto-away actions
- Open the actions manager (Settings→Action Manager)
- Select the chancolours group, if it is not selected
- Select the action named action
- Press Edit Action
- Select the Conditions tab
- Press the New button
- For the Argument select message
- For the Component select content
- For the Comparison select doesn't contain
- For the Target enter auto-away
- Press OK
- Press Close
How to show a popup when someone mentions your nickname
- Open the actions manager (Settings→Action Manager)
- Press the New Action button
- Enter a name for the action (the exact name doesn't matter; something like my highlight will do)
- For the Primary trigger select Channel message received
- Select the Conditions tab
- Press the New button
- For the Argument select message
- For the Component select content
- For the Comparison select contains
- For the Target enter ${SERVER_MYNICKNAME}
- Select the Response tab
- In the Execute the following commands: text area, enter the following: /popup Highlight by ${1.USER_NAME} on ${0.CHANNEL_NAME}
- Press OK
- Press Close
Note: The /popup command is provided by the systray plugin. You can replace it with /osd to use the On Screen Display plugin instead. You can include the actual message by including ${2.STRING_STRING} in the command.