SinusBot Scripts. JavaScript Scripts by Raphael Touet for the SinusBot by flyth (https://frie.se) Copyright (C) 2015 Raphael Touet (@Raphouphe)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
You can find a copy of the GNU General Public Licence in the LICENCE file.
Scripts for the SinusBot (http://sinusbot.com)
If you use a version, in which the script-fetaure is already implemented, you will find a Scripts
section in your Settings
.
You will need access on the SinusBot files. There is a folder named scripts
. You will have to download the script-file and moved it into this directory.
Then you just have to restart your bot, and they will appear in sour Scripts
section.
Author: Raphraph ([email protected]) & flyth
Description: This script will move all idling clients to a defined channel. Tested with version: SinusBot v0.9.9-98d0cd5
Setting | Description | Values |
---|---|---|
Idle time | Time (in seconds) after which a client is labeled as idling. | A valid number bigger than 150 |
Idle channel | The channel where idling clients are moved to. | A valid channel name |
Ignored channels | Clients which are in some of these channels, will be ignored by the Bot. | Each line, one valid channel name or id. |
Send idle message | Whether to send an idling message or not. | Just select one of the given options. |
Idle message | The message which is sent to the clients which are idling, if 'Send idle message' is set to 'Send'. | A valid message. Supports BBCode. Experimental: should automatically convert links to BBCode. |
Debugging | Whether to enable debugging or not. | Just select one of the given options. |
Author: Raphraph ([email protected]) & flyth
Description: This script will announce one of the configured lines every x seconds. Tested with version: SinusBot v0.9.10-e1fdee3
Setting | Description | Values |
---|---|---|
Ads | Multiple lines which defines the sent ads. BBCodes are supported! Normally urls starting with http:// or https:// are automatically converted into a clickable url. | One ad per line |
Interval | The time in SECONDS between each ad is sent. | A valid number of seconds |
Order | Either the ads should be sent randomly or line by line. | |
Broadcast-Type | Either the ads should be sent in the server-chat, channel-chat or to each client privatly (not recommended). |
Author: Raphraph ([email protected]) & flyth
Description: This script will remove all channels matching some userdefined names. Tested with version: SinusBot v0.9.9-a4f6453
Setting | Description | Values |
---|---|---|
Forbidden channels | List of forbidden names or regex (one per line). | One chnnale-name or regex expression per line |
Ignored channels | Comma-separated list of ignored channel-ids. | Comma-separated list of valid numbers |
Author: Raphraph ([email protected])
Description: This script will remove all channels matching some userdefined names. Tested with version: --
Setting | Description | Values |
---|---|---|
Forbidden names/regex | The names or regular expressions defining which channel isn't allowed. | A name or Regular Expression ecach line |
Ignored client ids/uuids | The ids or uuids of the clients which will be ignored by the script. | A comma seperated list withc ids and uuids |
Warn/Kick/Both | Which action should be performed on the client. | Just select one of the given options. |
Messages | The messages sent to the client | First line: warn message Second line: kick message |
Check-delay | The delay (in seconds) before the name of the client is checked again, and if it\'s a bad name the client get kicked. | A number |
Author: Raphraph ([email protected])
Description: This script will let the bot greet everyone who joins the channel. Tested with version: SinusBot v0.9.9-a4f6453
Setting | Description | Values |
---|---|---|
Message | The message that should be displayed or sayed. If 'Message-Type' is set to anything except of 'Say', BBCodes are supported. | A message |
Message-Type | The way the client should be notified. | Just select one of the given options. |
Reformat nickname | Enables or disables the reformating feature! DON'T ENABLE IT IF YOU DON'T KNOW HOW TO USE IT! | Just select one of the given options. |
Reformat nickname - format | ??? - currently not in use | ??? |
Reformat nickname - details | Provides important details to the script. | First line: "split: |" for example. Second line: "pos: 1" for example. |
Documentation follows with a new version of this script...
Author: Am4n ([email protected]) & Raphraph ([email protected])
Description: This script will response to some defined keywords. Tested with version: SinusBot v0.9.9-a4f6453
Setting | Description | Values |
---|---|---|
Keyword/Command/Regex: Output | The combinations of keyword and output. A valid combination is build like this: key: output . key should be replaced either by a word, by multiple words, by a regular expression (using the slash / as seperator) or by a command (starting with a dot). output should be replaced by a message. BBCodes are supported. | One valid combination each line. |
Respond on server-chat. | If the bot should respond to messages got in the server-chat or not. | Just select one of the given options. |
Respond on channel-chat. | If the bot should respond to messages got in the channel-chat or not. | Just select one of the given options. |
Respond on private-chat. | If the bot should respond to messages got in the private-chat or not. | Just select one of the given options. |