This converts an associated list to a parameter string, for use in /client/proc/Topic(), among other places.
= list("some_key" = 121, "some_other_key" = "some other value")
world.log << list2params(my_list) // some_key=121&some_other_key=some+other+value
Characters that have a special meaning in a parameter string, such as =
and &
, will be percent-encoded.
Parity Issue ⚠️
In BYOND, references to datums are automatically converted into a text reference, equivalent to running
\ref[datum]
.