title | description | published | date | tags | editor | dateCreated |
---|---|---|---|---|---|---|
Inline Functions |
Reference of all Inline Functions |
true |
2023-02-28 19:33:03 UTC |
markdown |
2021-11-17 20:51:12 UTC |
These are the functions that are available in most fields within Streamer.bot, so anywhere you can do a %variable%
, you'll be able to do a $function()$
as well.
All functions will also parse variables within the function call itself, so if you have $math(%x% + %y%)$
, the %x%
and %y%
will be replaced with there appropriate values before evaluating the math equation.
- math(<math equation>) Basic and advanced mathematical functions
- length(<text>) Determine the length of any variable or text {.btn-grid .my-5 .list}
These are just a few functions that I do plan on adding, there is no timeline as to when they will be added, but they will be.
- fetchurl(<url>) Fetch content from a URL{.disabled}
- xpath(<xpath>, <json>) Parse XML with the XPath function{.disabled}
- substring(<string>, <start>, <length>) Get a certain part of a string{.disabled} {.btn-grid .my-5 .list}