$(pointsname)
- Syntax
$(pointsname)- Arguments
- None
The $(pointsname) variable displays the name of your channel’s loyalty currency, so command responses keep working even after you rename your points.
Use it
Section titled “Use it”!command add !points $(sender) has $(sender.points) $(pointsname)!Insert $(pointsname) into your chat messages or commands where you want the loyalty currency name to appear. The chatbot will automatically replace it with your actual loyalty points name. If you haven’t set a custom name, it displays points.
Examples
Section titled “Examples”Informing viewers about earning points:
Earn more $(pointsname) by watching the stream!Related
Section titled “Related”$(user.points): Displays the user’s current loyalty points balance!addpoints: Adds points to a user’s balance (mod/broadcaster only)!setpoints: Sets a user’s points to a specific value (mod/broadcaster only)
Q: How do I change my loyalty points name?
A: You can change your loyalty points name in the StreamElements dashboard under the Loyalty tab. The $(pointsname) variable will automatically update to reflect the new name.
Q: Can I use $(pointsname) in custom commands?
A: Yes, you can use $(pointsname) in any custom command or chat message where you want to display your loyalty points name.