Skript

Skript

788k Downloads

Effect Functions

Closed this issue · 2 comments

commented

Suggestion

Skript should have support for creating custom functions that act like effects in the API.

Why?

This will make it much easier to make functions that we do not want players setting a variable to and would be a good alternative for some users.

Other

I am aware there is a way, but with the current state of functions, it’s very confusing.

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.
commented

Skript does have this functionality. Any function can be used as an effect, and using a return type of null ensures it cannot be used as an expression. I'm not sure what else you would want?

commented

Closing due to inactivity