Skript icon indicating copy to clipboard operation
Skript copied to clipboard

ExprCopy

Open Absolutionism opened this issue 8 months ago • 1 comments

Suggestion

Create an expression to get a copy of an object.

Why?

Allows to apply a copy to an object/expression/variable head on, without needing to store/save the copy.

(([a] copy|copies of)|copied) %objects%

Agreement

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

Absolutionism avatar May 17 '25 14:05 Absolutionism

I'm not sure how useful the class would be classinfo's have a Cloner method which is used by EffCopy an expression wouldn't hurt.

Either way both would suffer from the same issue of if something doesn't implement it a clone won't be created but would return the original object, runtime errors might need to be implemented there

Fusezion avatar May 17 '25 15:05 Fusezion