Commit Graph
2 Commits
Author SHA1 Message Date
Treeston 76d8fdba9c Core/ChatCommands: Properly handle single-argument handlers (argument string discarded). Add special handling for on/off booleans. 2018-09-09 14:31:46 +02:00
Aokromes 6815c24be1 Scripts/Commands: New argument parsing methodology (PR #22363)
- Detect the arguments accepted by the command handler
- Tokenize out those arguments automatically and feed them to the handler
- Unmatched rest of the string can be accepted by trailing char const* or CommandArgs*
2018-09-09 14:31:14 +02:00