D
Deleted member 5254
But that's the point of Skript. To provide a simple way to create plugin-like features for your server without having to learn Java and the parts related to it instead just focusing on development. PHP's syntax issues are in no way the same as Skripts. The need for actual syntax has never existed nor has anyone ever wanted to have a set syntax pattern. The community that exists around Skript exists because there isn't anything confusing about it. Sure, you can make awesome stuff and have it get confusing, but the basics of Skript are simple to pick up. It's just English words - every other programming language (in English) uses English words. Skript makes sentences which have sense and some context to them. Like, your example is more confusing, in your version of Skript than in the current versions of Skript (I'm not calling it New Skript or Old Skript, because you're not released anything, nor does your version replace Skript).PS: I’m actually not trying to administer this forum! The Skommittee just does Skript, no forums.
[doublepost=1493956825,1493956116][/doublepost]Look,
The idea is that Skript has gone a bit too far for what it is. It basically has no structure and manages to have a much less intuitive syntax than PHP.
New Skript just wants to provide the same basic concept as Old Skript, just with an actual syntax.
PS: Both use English words. Skript already has a ton of totally random symbols that have gone too far. That’s the raison d’être for New Skript.
code_language.skript:[LoadEvent] @PlayerBlockPlacedEvent(block = "dirt|grass") // Matches dirt or grass blocks @Permission("demoPlugin.useDirt") func EventDemo(Player sender, Block block) { block.Destroy(); sender.Kill("Blocks are cool, but not these blocks."); Console.Log("Evil " + block.Name + " block was destroyed at " + block.X + ", " + block.Y + ", " + block.Z + "."); }
code_language.skript:
on place of dirt or grass:
if player has permission "demoPlugin.useDirt":
cancel event
kill the player
send message "Evil %event-block% was destroyed at %event-location%." to console
Your example also has no consistency. You capitalise the start of each word in the event, then use camelcase for block.Destroy() and sender.Kill(), but then capitalise the start of Console and Log.
---------------------
A message to everyone, please stop asking for a thread to be locked or cleaned because you disagree. While the idea by Hola isn't being accepted by the majority, you're more than welcome to not read the thread or you can discuss with OP and others. That's kinda the point of forums.
Umbaska Modules section exists because it's an expansion. They're similar to skqAddons.i don't see you all complaining when Umbaska creates an addon then gets there own special category on the forms called "Umbaska modules".