• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EN [Script Request] Assign servergroups by command!

Status
Not open for further replies.
Hello Sinusbot community!

I've been looking for a simple script that allows servergroups to request for a group by chat command.

Example;

User: assign nopoke
User was added to servergroup "no poke" by assign bot"

Their is already a script in .php that is exacly what i'm looking for.

http://forum.teamspeak.com/threads/117775-Server-Group-Assign-Bot


Hopefully someone can help me out. Would be awesome!



(You can also contact me private if you know how to get this script running on windows server 2012 r2)

-Greetings Smiling2death
 
Last edited:

Floflobel

Donor
is awesome!
Contributor
Huum, the script is use for applying multi group.
The command is generic (set in setting) : !addgroup [id] and !rmgroup [id]

In setting :
Comma Seperated List of Group IDs wich may be affected :
14

The command, which should be used to assign the group :
!addgroup

The command, which should be used to remove the group :
!rmgroup

Limit the number of group :
1

Try to mp the bot : "!addgroup 14" and "!rmgroup 14"
 
Huum, the script is use for applying multi group.
The command is generic (set in setting) : !addgroup [id] and !rmgroup [id]

In setting :
Comma Seperated List of Group IDs wich may be affected :
14

The command, which should be used to assign the group :
!addgroup

The command, which should be used to remove the group :
!rmgroup

Limit the number of group :
1

Try to mp the bot : "!addgroup 14" and "!rmgroup 14"


Oh i see it's working now!

You have to add a command like "!addgroup" and "!delgroup" And add the number of the group "ID"

Working perfect thanks @Floflobel
 

Floflobel

Donor
is awesome!
Contributor
Nice, tell me if you find a bug.

Feature list :
- Returns a message when adding or deleting a group
- Returns errors in messages instead of logs
- Restricting use of the command according to a server group
- Add group with name or with ID
- Add file of log when user add a group
 
Can anyone help me? This script don't work on my sinusbot. Logs:
Code:
2018/02/16 11:04:14 ff3c1f15 8f07caf4 INFO   PRIVATE-CHAT [Bartek200219] !addgroup 51
2018/02/16 11:04:14 ff3c1f15 8f07caf4 INFO   CHAT 1 [bartek @ Bartek200219] < !addgroup 51 > / NOTFOUND/NOPRIV
 
Status
Not open for further replies.
Top