$(settitle)
- Syntax
$(settitle "<new title>")- Arguments
- Required
The $(settitle) variable changes your stream title from within a command response. On success, it outputs the new title.
Use it
Section titled “Use it”!command add !settitle Title updated to: $(settitle ${1:})To use the $(settitle) variable, include it followed by the new title you want to set.
$(settitle "<new title>")Examples
Section titled “Examples”-
Setting a simple title:
$(settitle "Playing Fortnite with viewers!") -
Using a more creative title:
$(settitle "ELECTRIC BODYBUILDER FROM RUSSIA")
Parameters
Section titled “Parameters”The $(settitle) variable accepts a single parameter:
- New Title: The text you want to set as your new stream title. Enclose it in quotation marks if it contains spaces.
Output
Section titled “Output”On success, the variable outputs the new title. If the platform rejects the change, the raw error message is shown instead.
Related Variables
Section titled “Related Variables”$(title): Retrieves the current stream title$(game): Retrieves the current game or category of your stream
Q: Why do I need to use quotation marks?
A: Quotation marks are required if your title contains spaces. This ensures that the entire title is recognized as a single input.
Q: What happens if there’s an error?
A: If something goes wrong while setting the title, the variable outputs the platform’s error message instead of the new title. Double-check your syntax and try again. If the problem persists, ensure that your StreamElements bot has the necessary permissions to change your stream title.
Q: Can I use emotes or special characters in my title?
A: Yes, you can use emotes and special characters in your stream title, as demonstrated in the “ELECTRIC BODYBUILDER” example. However, be mindful of platform-specific limitations on title length or character types.