Jump to content

skript keeps requiring triggers and then telling me trigger is incorrect


ItsAMatterOfTime

Recommended Posts

So i'm trying to create a skript menu that allows you to select a menu and it will execute a command, but skript tells me i need a trigger and then when i add Trigger: it says that it doesnt know what that is. I have skQuery and Skript on.

command: /menu:
triggers:
wait 1 tick
open chest with 3 rows called "Menu" to player
wait 1 tick

format slot 0 of player with shiny diamond named "&bExample"

says invalid line - all code has to be put into triggers (clan.sk, line 1: command /menu

invalid line - all code has to be put into triggers (clan.sk, line 7: format slot 0 of player with shiny diamond named "&bExample"')

could anyone help me with that?

Edited by ItsAMatterOfTime
forgot to add the exact error messages
Link to comment
Share on other sites

Its trigger not triggers. Also you need to indent correctly to.

 

Topic Moved to Skript Discussion

Please post in the right category next time when asking for help about Skript. 

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

16 minutes ago, _Tarna_ said:

Its trigger not triggers. Also you need to indent correctly to.

 

Topic Moved to Skript Discussion

Please post in the right category next time when asking for help about Skript. 

Sorry about that! my friend told me this was the right category!

I did indenting and it told me it expected 0 indentations. also Triggers was me trying a new way to see if maybe that worked.

Edited by ItsAMatterOfTime
Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...