Commit graph

4 commits

Author SHA1 Message Date
Daenges
095c9cf137
Fix quote detection in /setrnd (#1915)
* Fix quote detection in /setrnd
Before the function crashed when entering quoted strings.
* Fix indentation
* Fix out of array error
2022-01-24 16:15:44 +01:00
Daenges
bbe000b640
Fix /move crash and /setrnd (#1914)
* Fix /move crash
* Fix substring cutting in SetRnd
2022-01-23 21:31:44 +01:00
ReinforceZwei
e68a51dcff Move parseCommandLine method to command class 2021-12-15 21:25:24 +08:00
Daenges
381b8ea7d1
Add setrnd command (#1846)
* Add setrnd command

* Make rand private

* Add console-like argument behaviour

* Remove unused using declarations

* Add german and english translations

* Improve translation, Add notice to config README, Add check wheather arguments are provided

* Add some comments

* Remove typo

* Add %player% constant to setrnd

* Remove test variable and add comments

* Remove typo

* Reverse changes

* Remove translations
2021-12-15 18:51:16 +08:00