Solved any help ?

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

llucass1100

Member
Feb 9, 2017
12
0
0
How can I divide lore into lines :
code_language.skript:
format a gui slot 1 of player with ender pearl named "&e&lTeleport Effect" with a lore "&7Nether effect on the player.&6CUST : &l450 E-Points" to run console command "/gamemode 0 %player%"
 
Send your code
code_language.skript:
command /ecasheffect:
    trigger:
        open virtual chest inventory with size 1 named "&e&lEffects" to player
        wait 1 ticks
        {ecash.effect.useteleport.%player-arg%} is false:
            format a gui slot 1 of player with ender pearl named "&e&lTeleport Effect" with a lore "&7Nether effect on the player.&6PRICE : &l450 &6&lE-CASH " to run player command "/effectbuy %player% Teleport"
        {ecash.effect.useteleport.%player-arg%} is true:
            {ecash.effect.useteleport.%loop-player%.use} is true:
                format a gui slot 1 of player with ender pearl named "&e&lTeleport Effect" with a lore "&7Nether effect on the player.&cON " to run player command "/effectset teleport off"
 
Try this:
code_language.skript:
command /ecasheffect:
    trigger:
        open virtual chest inventory with size 1 named "&e&lEffects" to player
        wait 1 ticks
        {ecash.effect.useteleport.%player-arg%} is false:
            format a gui slot 1 of player with ender pearl named "&e&lTeleport Effect" with a lore "&7Nether effect on the player||&6PRICE : &l450 &6&lE-CASH " to run player command "/effectbuy %player% Teleport"
        {ecash.effect.useteleport.%player-arg%} is true:
            {ecash.effect.useteleport.%loop-player%.use} is true:
                format a gui slot 1 of player with ender pearl named "&e&lTeleport Effect" with a lore "&7Nether effect on the player||&cON " to run player command "/effectset teleport off"
 
Try this:
code_language.skript:
command /ecasheffect:
    trigger:
        open virtual chest inventory with size 1 named "&e&lEffects" to player
        wait 1 ticks
        {ecash.effect.useteleport.%player-arg%} is false:
            format a gui slot 1 of player with ender pearl named "&e&lTeleport Effect" with a lore "&7Nether effect on the player||&6PRICE : &l450 &6&lE-CASH " to run player command "/effectbuy %player% Teleport"
        {ecash.effect.useteleport.%player-arg%} is true:
            {ecash.effect.useteleport.%loop-player%.use} is true:
                format a gui slot 1 of player with ender pearl named "&e&lTeleport Effect" with a lore "&7Nether effect on the player||&cON " to run player command "/effectset teleport off"
http://prntscr.com/lhxhgh
 
Can you try this (requires SkQuery):
code_language.skript:
command /ecasheffect:
    trigger:
        open virtual chest inventory with size 1 named "&e&lEffects" to player
        wait 1 ticks
        {ecash.effect.useteleport.%player-arg%} is false:
            format a gui slot 1 of player with ender pearl named "&e&lTeleport Effect" with lore "&7Nether effect on the player||&6PRICE : &l450 &6&lE-CASH " to run player command "/effectbuy %player% Teleport"
        {ecash.effect.useteleport.%player-arg%} is true:
            {ecash.effect.useteleport.%loop-player%.use} is true:
                format a gui slot 1 of player with ender pearl named "&e&lTeleport Effect" with lore "&7Nether effect on the player||&cON " to run player command "/effectset teleport off"
 
Can you try this (requires SkQuery):
code_language.skript:
command /ecasheffect:
    trigger:
        open virtual chest inventory with size 1 named "&e&lEffects" to player
        wait 1 ticks
        {ecash.effect.useteleport.%player-arg%} is false:
            format a gui slot 1 of player with ender pearl named "&e&lTeleport Effect" with lore "&7Nether effect on the player||&6PRICE : &l450 &6&lE-CASH " to run player command "/effectbuy %player% Teleport"
        {ecash.effect.useteleport.%player-arg%} is true:
            {ecash.effect.useteleport.%loop-player%.use} is true:
                format a gui slot 1 of player with ender pearl named "&e&lTeleport Effect" with lore "&7Nether effect on the player||&cON " to run player command "/effectset teleport off"
http://prntscr.com/lhxryk
Now nothing appears.

http://prntscr.com/lhxsik
console error
 
What version of Skript, SkQuery and MC are you using (don't say latest)
 
Can you try if it still errors without the GUI part (so only the item stuff)
 
Status
Not open for further replies.