This is a fork of the original work of Jonas Bögle (irgendwr). I'm not planning to maintain these scripts. But more or less add some features i'd personally like on existing scripts. Im a noob when it comes to javascript but lets give it a try.
This repository includes a few scripts that Jonas Bögle (irgendwr) wrote for the SinusBot.
- Download the script and put it in the scripts folder where the SinusBot is installed
- Restart the SinusBot
- Go to your web-interface: Settings -> Scrips and enable the script by checking the box next to it
- Configure the script as you like (by clicking on the arrow to show the options and pressing 'save' at the end)
- Click on Save changes at the bottom of the page
This is a simple script that allows you to create your own commands with custom responses.
See forum thread for more information/discussion.
Config:
The the following placeholders can be used in the config:
- username
- mention
- uid
- dbid
- description
- ping
- total_connections
- packetloss
- bytes_sent
- bytes_received
- ip
- first_join
- os
- version
- clients_count
- clients
- channels_count
- channels
- client_groups_count
- client_groups
- server_groups_count
- server_groups
- playing
- random(, )
- randomString(option one, option two, ...)
- channel_name
- channel_id
- channel_url
- client_channel_name
- client_channel_id
- client_channel_url
Example:
Hi {mention}, your ID is: {uid} and you have the following {client_groups_count} groups: {client_groups}.
Random number between 0 and 100: {random(1, 100)}.
This script adds the commands !join and !leave that make the bot join or leave your channel.
See forum thread for more information/discussion.
This script moves clients that are set as away, have their speakers/mic muted or are idle to a specified channel.
See forum thread for more information/discussion.
Informs you about the status of a server configured on uptimerobot.com
See forum thread for more information/discussion.
Config:
In the config the following placeholders can be used:
- %name%
- %uptime%
- %url%
- %port%
- %type%
- %status%
- %id%
- %created%
- %ssl.brand%
- %ssl.product%
- %ssl.expires%
List the servers groups and their IDs with the !groups
command.
See forum thread for more information/discussion.
- make sure that you have the latest version of the SinusBot (some scripts require at least version 1.0.0)
- make sure that you have the latest version of this script
- read the instructions above carefully and check if you've missed anything
- If you've checked everything and it still doesn't work then you can ask for help in the discussion thread or open an issue on GitHub. But hold on for a second! Before you post: read this first and include all of the required information.