[MIRROR] adds list getter and text2num to sdql wrappers (#7351)

* adds list getter and text2num to sdql (#60654)

* adds list getter and text2num to sdql wrappers

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-08-03 21:06:37 +02:00
committed by GitHub
parent 7484884687
commit 3a6687e5cc

View File

@@ -90,6 +90,9 @@
/proc/_num2text(N, SigFig = 6)
return num2text(N, SigFig)
/proc/_text2num(T)
return text2num(T)
/proc/_ohearers(Dist, Center = usr)
return ohearers(Dist, Center)
@@ -178,6 +181,9 @@
/proc/_list_set(list/L, key, value)
L[key] = value
/proc/_list_get(list/L, key)
return L[key]
/proc/_list_numerical_add(L, key, num)
L[key] += num