Skript
Skript copied to clipboard
classes
I know that you guys are trying to add more functionality into Skript. The functions were really good idea but we need something better for making Skript greater. Syntax of the plugin is almost look same with Python so lets get inspired by that programming language! Also lets put some PHP and Java! It would be perfect if skript was object oriented.
class NewPlayerClass extends Player:
function define($super):
set {this} to $super
function kill():
say "no" to {this}
on join:
set {david} to a instance of NewPlayerClass with parameter player
call kill from {david}
I'd suggest this over at skUnity Forums. It has a higher chance of being added.
I think the things he wrote is sarcasm.
Hey there!
This version of Skript is unsupported and outdated. If you would like to join an awesome Skript community that has a forums and Discord chat, check out skunity.com they also have an updated database of Skript addons and documentation there too!