#does something like this exist

1 messages · Page 1 of 1 (latest)

weary stratus
#

set {_a} to {_variable}List(player, {_b})

basically i want to trigger a function via variable in the code.
does smth like this exist?

stray python
#

You can trigger it using:
set {_a} to List(player, {_b})
but {_variable}List(player, {_b}) doesn't look like something that will work.

weary stratus
#

basically i have a function called 1LIst

#

2List

#

and 3List

#

that's why i wanna do smth like that

solid gulch
#

either skript-reflect or unsafe-skript

boreal crater
#

or make another function that takes an integer for an argument as well as player and whatever {_b} is, then call the correct function in the new function