Solved About grammar of skript addon

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

KrswtkhrSK

Member
Jan 28, 2017
27
2
1
How can I resolve grammar errors?

I am trying to make a fake light source using Sharpsk and LightAPI.
A similar problem had happened in the past though it should be written properly.

Skript is running latest with 1.11.2.

code_language.skript:
[(sharpsk|lightapi)] (create|make) [a] [fake] light [source] at [the] %location% [with] [light[ ]level] %integer% [using] [async] %boolean%

[sharpsk] spawn [a] mythicmob %string% at [the] %location% with level %integer%
https://forums.skunity.com/resources/sharpsk.72/update?update=364

my code
code_language.skript:
command /fakelight:
    trigger:
        sharpsk create a fake light source at target block with light level 15 using async true

command /mmspawn:
    trigger:
        sharpsk spawn a mythicmob turret at the target block with level 0

code_language.skript:
Can't understand this condition/effect: sharpsk create a fake light source at target block with light level 15 using async true (lightsource.sk, line 3: sharpsk create a fake light source at target block with light level 15 using async true')
I get the same error on spawn of mythicmobs

thanks.
 
Last edited:
I don't think you need to put sharpsk in code at all..
 
Try "location of target block" instead of "target block" and maybe remove async, I'm not sure if this need a plugin. Did you got error in console, if you start the server?
 
Try "location of target block" instead of "target block" and maybe remove async, I'm not sure if this need a plugin. Did you got error in console, if you start the server?
I solved it, thank you:emoji_blush:
 
Status
Not open for further replies.