Description
Use a chat command !convert to convert between various units of measurement. This works with platforms Twitch, YouTube, and Kick.
Import Code
unitConversionCommand-1.0.0.sb (11.8 KB)
Changelog
2026-09-07
+ Added Kick platform
+ Consolidated into a single action
- Removed Trovo (RIP)
Steps after import and usage
As a security measure, imported commands are disabled by default. Enable the !convert command under the Commands tab.
!convert 5km- will return5 kilometers is 3.11 miles- Code should work whether or not thereβs a space between the number and unit.
- See description above for list of units and use their abbreviations
Usage
Use commands to do unit conversions in chat. Units supported (use the abbreviation in command):
- Temperature
- Celsius (c) β Fahrenheit (f)
- Length
- Inches (in) β Centimeters (cm)
- Feet (ft) β Meters (m)
- Distance
- Miles (mi) β Kilometers (km)
- Volume
- Fluid Ounces (floz) β Milliliters (ml)
- Weight
- Pounds (lbs) β Kilograms (km)
Send Message Options
sendAsBot- Send response as bot account - Default:truesendFallback- Send response as broadcaster if bot message fails - Defaulttrue