@casual-simulation/aux-custom-portals
Advanced tools
Changelog
V2.0.19
lineStyle
now defaults to line
instead of arrow
.lineTo
and strokeColor
to use lines that support custom widths.links
variable as a shortcut for thisBot.links
.bot.vars
and os.vars
as an easy way to store and lookup variables by name.
os.vars
works exactly the same as globalThis
.bot.vars
allows you to store special values in a bot that cannot be stored in either bot.tags
or bot.masks
.bot.listener()
instead of whisper(bot, "listener")
.
let result = thisBot.myScript(argument);
is equivalent to
let [result] = whisper(thisBot, 'myScript', argument);
shout.listener()
instead of shout("listener")
.
let results = shout.myScript(argument);
is equivalent to
let results = shout('myScript', argument);
Changelog
V2.0.0
mapPortal
.
mapPortalBasemap
tag on the mapPortalBot
. See the documentation for more information.