feat(Core/Commands): Deserter command (BG/Instance) (#1786)

* feat(Core/Commands): Deserter command (BG/Instance)

- Adding .deserter command
- Subcommands ;
* instance add
* instance remove
* bg add
* bg remove

Time is in seconds, example usage:
.deserter instance add 3600 (One hour)
.deserter bg add 3600 (One hour)

* Update cs_deserter.cpp

* Update cs_deserter.cpp

another try

* Update cs_deserter.cpp

again

* Update cs_deserter.cpp

sick of this

* Update cs_deserter.cpp

* Update cs_deserter.cpp

Remove some lines
This commit is contained in:
Poszer
2019-05-08 12:27:52 +02:00
committed by Pondaveia
parent eee8e965e7
commit 268fab03a9
4 changed files with 149 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1556618006402506300');
DELETE FROM `command` WHERE `name` IN
("deserter instance add",
"deserter instance remove",
"deserter bg add",
"deserter bg remove");
INSERT INTO `command` (`name`, `security`, `help`) VALUES
("deserter instance add", 3, "Syntax: .deserter instance add $time \n\n Adds the instance deserter debuff to your target with $time duration."),
("deserter instance remove", 3, "Syntax: .deserter instance remove \n\n Removes the instance deserter debuff from your target."),
("deserter bg add", 3, "Syntax: .deserter bg add $time \n\n Adds the bg deserter debuff to your target with $time duration."),
("deserter bg remove", 3, "Syntax: .deserter bg remove \n\n Removes the bg deserter debuff from your target.");