thelounge-plugin-automsg
v1.0.1
Published
A plugin for The Lounge IRC client that adds a timer command to schedule and manage recurring messages.
Downloads
7
Readme
The Lounge Timer Plugin
The Lounge Timer Plugin is an extension for The Lounge IRC client that introduces a timer command to schedule and manage recurring messages. This plugin enhances your IRC experience by allowing you to automate the sending of messages at specified intervals.
Installation
Install the Plugin Package
- If you have installed thelounge via NPM/Yarn:
thelounge install thelounge-plugin-automessage
- If you have installed thelounge via source:
node index.js install thelounge-plugin-automessage
Usage
Command Syntax
/timer <time> <message>
<time>
: Time interval in the format ofXh
for hours,Xm
for minutes, andXs
for seconds. For example,2h30m
represents 2 hours and 30 minutes.<message>
: The message to be sent at each interval.
Examples
Schedule a recurring message every 30 seconds:
/timer 30s msg #channel Hello, World!
Schedule a recurring message every 5 minutes:
/timer 5m msg #channel Hello, World!
Schedule a recurring message every 2 hours and 40 minutes:
/timer 2h40m msg #channel Hello, World!
Additional Commands
List all scheduled commands:
/timer list
Delete a scheduled command:
/timer delete <index>
Replace
<index>
with the index of the scheduled command to delete.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgements
- Thanks to the developers of The Lounge IRC client for providing an extensible platform for plugins.
- Special thanks to contributors for their valuable feedback and contributions.