Default command for the console

Issue #134 new
Former user created an issue

It would be nice for the console to accept the default command so that we can utilize the console to act as a chat box.

For example I would like to set the default command to "/say <message>" and binds it to the method "void Say(string message"), so that the console can accept anything I type-in as some simply chat message. Unless I input something starting with the prefix "/" (e.g. /tell <someone> <message>)

Comments (1)

  1. Yusuf Ismail repo owner

    I like this idea as it would expand the use case of QC quite a bit

    So let’s say you set the “Command character“ to / and then type hello. Would we have some kind of event on QC like OnNonCommandInput which is then fed the hello by passing the command invoker? From there you could then listen to that event and implement your chat functionality

  2. Log in to comment