Skript
Skript copied to clipboard
Event expressions pass into functions
Suggestion
on sign edit: function()
function function(): send "%event-block%, %event-world%, %event-location%, %event-player%" to player`
Why?
Instead of creating a ton of variables for expressions within an event, I'd like those expressions to pass to the function. I'm not sure if this is hard to create, but it'd be an amazing addition to functions because it'd make many things faster and easier.
Other
This seems like such a general idea that it'd have been suggested previously, but I love the idea and I'm curious if it was rejected, and why it was denied.
Agreement
- [X] I have read the guidelines above and affirm I am following them with this suggestion.
That is not really a good idea because when using the function outside of that event things will break, so when using a function like they currently work you need to input the values depending on the situation, the block you may want could be loop-block, event-block or target-block depending on the situation. This would just be a gimmick
I remember there was some other issue related to this but couldn't find it however, I think if could have event
expression like skript-reflect that would solve the issue