#/geminfo command

1 messages · Page 1 of 1 (latest)

main skiff
#

im having trouble making a /geminfo command, i have the command stuff down but theres an error popping up saying the line with the send command isnt working but heres the code

stuck gulch
#

ah, why is your send so long

lusty relic
#

jjust

#

send " " to player

#

send "line2" to player

#

send "line3" to player

#

that's it

#

where tf u learned skript from

stuck gulch
#

the actualy problem is that you didnt indent the send line

#

it should be inside the trigger

#

but your line shouldnt be that long

#

its better to split it into multiple lines

main skiff
lusty relic
#

do ur spacing

#

after every :

#

u need indent

#

to indicate it's that section

#
command /asd:
  permission: ssdsd
  trigger:
    send "Sdsdsdsdsds"```
main skiff
#

when u click tab?

lusty relic
#

yea

main skiff
#

i do

lusty relic
#

then send the error

main skiff
#

it shows the send line is wrong

#

idk what to fix

lusty relic
#

and then what does it say?

#

just send the error u dummy

#

send what it says when u reload it

#

if u dont no one will help u

stuck gulch
lusty relic
#

i d c

main skiff
#

well if i ss wont show everything ofc

#

but lemme try smth

lusty relic
#

reload it through console

#

and then copy paste here

#

can u not do everything in one line

#

idc if that's "how you're used to it" but it helps with error

main skiff
#

[Skript] Reloading geminfo.sk...
Line 5: (geminfo.sk)
Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "".
Line: send " " and "Astra Tier 1:" and "If you punch the air with the gem in your MAINHAND it will summon little daggers around you and if you walk into someone with them it will damage them" and "if you hit someone with the gem in your main hand it will do nothing" and "If you right click your gem it will give blindness to any player within 5 blocks and disable their gem" and " " and "Astra Gem Tier 2:" and "If you hit a player with the upgraded Astra Gem you will be that player they wont be able to hit you or get you out of them you are basically spectating them but they know your there" and "If you right click your gem you wil turn invisiable and spawn a zombie which is your corpse the only way for you to get back is by hitting your zombie which other players can do but if they hit you the invisble part of you they cant hit you" and "Again if you punch the air with your gem in ur MAINHAND it will summon daggers aswell" and " " and "Fire Gem Tier 1:" and "When y

[Skript] Encountered 1 error while reloading geminfo.sk! (2ms)

#

im dyslexic thats a lot

stuck gulch
#

If only it wasnt all in 1 line

main skiff
#

whoops

#

Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "".

#

Line: send " " and "Astra Tier 1:" and "If you punch the air with the gem in your

#

MAINHAND it will summon little daggers around you and if you walk into someone with

#

them it will damage them" and "if you hit someone with the gem in your main hand it

#

will do nothing" and "If you right click your gem it will give blindness to any player

#

within 5 blocks and disable their gem" and " " and "Astra Gem Tier 2:" and "If you hit a

#

player with the upgraded Astra Gem you will be that player they wont be able to hit

#

you or get you out of them you are basically spectating them but they know your

#

there" and "If you right click your gem you wil turn invisiable and spawn a zombie which

#

is your corpse the only way for you to get back is by hitting your zombie which other

#

players can do but if they hit you the invisble part of you they cant hit you" and "Again

#

if you punch the air with your gem in ur MAINHAND it will summon daggers aswell" and

#

" " and "Fire Gem Tier 1:" and "When y

#

easier?

#

better

#

or naw

main skiff
#

?

thorny cobalt
#

Dude

#

Skript tells you what line the error is on, not the exact character like other languages

#

Means the longer the line, the bigger the haystack when searching for the needle (issue) in the haystack

#

More things in a line = more things that could go wrong

#

You can also just use add x to {_message::*} add y to {_message::*} add z to {_message::*} send (join {_message::*} by newline) to player

main skiff
lusty relic
#

who cares ?

main skiff
#

cause i want a better understanding bc i dont understand what hes trying to say

lusty relic
#

just send " " to player multiple liens'

#

lines*

#

and you'll find out the error

main skiff
#

i want a better explanation

lusty relic
#

You should send on multiple lines

#

now stop talking and fix it

main skiff
#

im trying

#

but i dont understand how to do the multiple lines

lusty relic
#

tfym

#
send "line1" to player
send "line2" to player
send "Line3" to player```
#

hard ?

main skiff
#

no but after "to player" i add what i want it to say?!

lusty relic
#

huh?

#

send " " to player
send "Astra Tier 1" to player
send "If you punch the air with the gem in your MAINAHND it will summon little ....." to player

#

that's it

#

idk how ur confused

main skiff
#

sorry

thorny cobalt
main skiff
#

nvm i got it

#

i figured it out

#

ty

#

sorry for bother u guys