Add osay command (#13057)

* add osay command

* replace obsolete method

* inherit LocalizedCommands instead of IConsoleCommand

* streamline

* make OSay class public to match other commands

* re-scope namespace to file
This commit is contained in:
Chief-Engineer
2022-12-19 22:14:43 -06:00
committed by GitHub
parent 6efef1ced4
commit 2499b4e2bd
2 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
osay-command-description = Forces another entity to try to send a message
osay-command-help-text = Usage: {$command} <uid> <type> <message>
osay-command-arg-uid = source uid
osay-command-arg-type = type
osay-command-arg-message = message
osay-command-error-args = Invalid number of arguments
osay-command-error-euid = {$arg} is not a valid entity uid.