Thread: Slash Handler Question
-
May 8th, 2020, 12:09 #1
Slash Handler Question
Hi All,
Can you point me in the right direction of how to pass a paramater to a new slash command?
i.e
If I had the following '/test this is test text' in the chat window
what do I need to do to access the text written after the /test in my registered slashhandler function?
Hope that makes sense
Cheers, Steve.
-
May 8th, 2020, 12:15 #2
Have a look in CoreRPG desktop\scripts\manager_gmidentity.lua - both of the slash handlers in there use parameters.
For more examples search in your favourite ruleset for registerSlashHandlerPrivate Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
May 8th, 2020, 12:20 #3
Thanks for the pointer Trenloe.
Cheers, Steve.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks