View Full Version : Adding a new slash command in chat
DMFirmy
September 20th, 2014, 20:10
Relating to the topic Keep Highest / Drop Lowest (https://www.fantasygrounds.com/forums/showthread.php?22131-Keep-Highest-Drop-Lowest), another idea I had for introducing this functionality into the GUI was to add a new slash command that could be typed into the chat window (I am a big fan of keyboard shortcuts and slash commands). Can I add my own custom slash commands, either as part of an extension or as part of the ruleset itself?
Ikael
September 20th, 2014, 22:29
Either way, but I would recommend to add it as an extension to provide better sharing. See Comm package description in reference to know more about registering new slashcommand handlers
Trenloe
September 21st, 2014, 02:20
See also the languages extension as an example - this is 100% slash command driven: https://www.fantasygrounds.com/forums/showthread.php?20332-Tenians-Language-Chat-Extension-for-select-FG-3-0-rulesets
damned
September 21st, 2014, 03:02
I would be aiming to do a /slash command
there is also a field in the CoreRPG character sheet hat lets you type /slash commands into it and double click them to execute that may be useful.
DMFirmy
September 21st, 2014, 14:45
I would be aiming to do a /slash command
there is also a field in the CoreRPG character sheet hat lets you type /slash commands into it and double click them to execute that may be useful.
I will have to look into this later, thanks for the tip. Over the last couple days I have been caught up in data entry, as there are a TON of custom race, classes, etc. in my campaign. I am also working on some custom formatting for the reference material that is a lot different then the standard format, so it is somewhat time consuming. This piece of functionality is definitely something I want to include as part of my rule set though, so I will definitely look into it at some point, it may just take a little while to get to it.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.