<arguments> are required, however [arguments] are optional.
Vayl provides a selection of Default Commands:
!debug (streamer-only)
!sfxon (streamer-only)
!sfxoff (streamer-only)
!settitle (streamer / mod-only)
!uptime
!setgame
!game
!followage [user]
!addquote
!quote [number]
!quotes
The !debug command allows streamers to test alerts.
!debug follow <user>
!debug sub <user> <tier> <total-months> [message]
!debug giftsub <user> <total-subs> <tier>
!debug bits <user> <amount> <message>
!debug raid <username> <viewercount>
!debug hypetrain <level>
!debug live
Custom Commands are added via the commands.yml file (located in configuration)
command:
test:
cooldown: 10
sub-only: false
mod-only: true
vip-only: false
actions:
- chat ; This is a text command!
Vayl provides a unique mechanic which allows it to run several actions in sequence.
Each event that Vayl supports provides a list of %tags% you can refer to when running actions.
Commands
%arg<number>% - References the nth argument of the command.
%cmdtext% - References the combined arguments.
Redeems
%user% - References the user who claimed the redeem.
%userinput% - References the text provided on redeems which require text.
Follow
%user% - References the user who claimed the redeem.
Sub
%user% - References the user who just subscribed.
%sub-message% - References the subscription message (if any)
%tier% - References the subscription tier.
%total-months% - References the total subscribed months.
Gifted Sub
%gifter% - References the user who gifted the subscriptions.
%gifted% - References the user who was gifted the subscription.
%tier% - References the subscription tier.
%sub-amount% - References the total amount of subscriptions gifted.
Raid
%user% - References the user who called the raid.
%viewercount% - References the viewer count of the raid.
PhraseCheck
%user% - References the user who triggered the PhraseCheck.
Poll
%title% - References the title of the poll.
Prediction Start
%title% - References the title of the prediction.
%option<number>% - References the nth option of the prediction.
Prediction Locked
%title% - References the title of the prediction.
%option<number>% - References the nth option of the prediction.
%option<number>points% - References the total channel points spend on the nth option.
Prediction Ended
%title% - References the title of the prediction.
%option<number>% - References the nth option of the prediction.
%option<number>points% - References the total channel points spend on the nth option.
%winner% - References the winning option of the prediction.
Shoutout Given
%user% - References the user who was given a shoutout.
Shoutout Recieved
%user% - References the user who gave a shoutout.
%viewers% - References the viewer count of the user who gave the shoutout.
HypeTrain
%level% - References the level of the HypeTrain.
Live Notification
%game% - References the steam's currently played game.
%title% - References the stream's title.
%name% - References the streamer's username.
%link% - Returns a link to the streamer's channel.
Misc
%resource:name% - References the text inside the given resource file.
%counter:name% - References the counter value of the given name.
%rnumber:min-max% - Returns a random number within the given range.
%ruser% - Returns a random followers name.