Skip to content

A StreamElements custom widget, which randomly picks images from an image pool at predetermined time intervals and displays them.

License

Notifications You must be signed in to change notification settings

AFoeee/random-image-timer-se-widget

Repository files navigation

Random Image Timer

This StreamElements custom widget can be used to visualize some sorts of content gamification.
An example might be the display of

  • a self-imposed, changing class focus in a RPG.
  • the current item in a randomized giveaway.

Special thanks to Laiyart for the idea.

Description of operation:

The widget randomly picks images from an image pool at predetermined time intervals and displays them.
It has also options to limit said randomness to a certain degree.

See also this demonstration video.

Chat command types:

  • !img random

    Swaps the current image with a random one.

  • !img n

    Swaps the current image with the nth video of the pool.
    The placeholder n can be a number between 1 and the total number of images in the pool.

  • !img timer pause

    Pauses the timer.

  • !img timer resume

    Unpauses the timer.

  • !img timer reset

    Resets the timer to initial time span.

  • !img timer h:m:s

    Sets the timer to the specified amount of time.

    A single number is interpreted as seconds.
    Two numbers are interpreted as minutes and seconds and so on.

Used libraries: