Jump to content

Tablist


OMGPandaYTReal

Recommended Posts

i tried to make a tablist using skrayfall, and looking on the web but none of them work, heres my code:
 

on join:
    while player is online:
        set {_header} to "&6PineRPG%new line%"
        set {_footer} to "%new line%&7Store: pinerpg.tebex.io%new line%&7IP: pinerpg.minehut.gg"
        set tab header to "%{_header}%" and footer to "%{_footer}%" for player
        wait 1 second

 

Link to comment
Share on other sites

Looking at it, it looks like it should work. Try using %nl% instead of %new line%

SkyRayFall Tab and Header
New Line

Edited by _Tarna_

Discord - tarna256

In-game name - _Tarna_

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

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

[VIP] - 7/27/2020

Community 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

2 minutes ago, _Tarna_ said:

Looking at it, it looks like it should work. Try using %nl% instead of %new line%

SkyRayFall Tab and Header
New Line

Keep in mind skquery is required for %nl%.

Founder - Minehut.xyz

The leading Minehut support website. We aim to provide top quality tutorials, provide answers to top questions, and help in any way we can. Our site is community driven, and we will continue to make it better and better.

Support | 28/08/20 -13/09/20

Senior Support | 13/09/20 - 19/10/20

 

forums.gif.5d3db2db4a05c9465b84fa9bf0293df4.gif

Link to comment
Share on other sites

Just now, Minehut said:

Keep in mind skquery is required for %nl%.

Vanilla Skript also has %nl%

https://skripthub.net/docs/?id=4192

Discord - tarna256

In-game name - _Tarna_

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

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

[VIP] - 7/27/2020

Community 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

Just now, _Tarna_ said:

Vanilla Skript also has %nl%

https://skripthub.net/docs/?id=4192

Frick, oops

  • Thanks 1

Founder - Minehut.xyz

The leading Minehut support website. We aim to provide top quality tutorials, provide answers to top questions, and help in any way we can. Our site is community driven, and we will continue to make it better and better.

Support | 28/08/20 -13/09/20

Senior Support | 13/09/20 - 19/10/20

 

forums.gif.5d3db2db4a05c9465b84fa9bf0293df4.gif

Link to comment
Share on other sites

12 minutes ago, OMGPandaYTReal said:

the error isnt 'invalid expression' so its not %new line% thats causing the error

https://prnt.sc/tvd95i

Thats weird. If you are sure you have skrayfall and it still isn't working, im not sure. Maybe try putting the text directly into the expression instead of setting it to a variable. Not sure.

Discord - tarna256

In-game name - _Tarna_

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

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

[VIP] - 7/27/2020

Community 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

3 minutes ago, OMGPandaYTReal said:

same error

Maybe try deleting skrayfall and the plugin's folder and reinstall it. Or in the Minehut discord, ask in #skript. http://discord.gg/minehut

 

Discord - tarna256

In-game name - _Tarna_

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

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

[VIP] - 7/27/2020

Community 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

A peculiar issue,

doubting it's the issue but maybe try removing the "%%" for both the header and the footer for line 5. It should look like

set tab header to {_header} and footer to {_footer} for player

once you do it.

Edited by TheGoose
spacing issues

VIP since January 7th, 2020

Support since September 19th, 2020

Helper since November 3rd, 2020

Moderator since March 8th, 2021

unknown.png

5.png.e14b1bf83edf0ac2edc1bfb822177184.png

image.png.fe30b7b2c0be5a541ba4ed2187b23030.png

Link to comment
Share on other sites

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...