#Can i do this to make this easier

1 messages · Page 1 of 1 (latest)

acoustic escarp
#

Hey so im wondering if im able to use like a arg to make my setting of teleporting because the way i have it i have to change a word and reload everytime i want to set a point for teleporting cause this is what i have rn and when the player clicks an item from a gui it teleports to the place i was standing

gentle pivot
#

I AM phone but just use

    Permission: *
    Trigger:
        Set {setlocation::%arg-1%} to player's location```
#

And then it is also a list

#

@acoustic escarp

acoustic escarp
#

ok

gentle pivot
#

You understand?

acoustic escarp
#

sorta kinda idk

proven ember
#

I proofread the skript and there's a flaw with it for identification

#

lemme try refactor it

pliant mirage
#

Theres plenty of home skript tutorials

gentle pivot
#

Like i said it was made on my phone dude. Not a complex script just a script to make him understand

pliant mirage
#

Use one of those

pliant mirage
proven ember
#

~~```applescript
command /settest:
permission: *
trigger:
set {playerlocs::%player's uuid%} to player's location

... used in other code ...

use by reading {playerlocs::%player's uuid%}

gentle pivot
#

Dude

acoustic escarp
#

for the teleport do i keep it teleport player to {MemeNoteBlockTeleports} or would i change it to teleport player to {setlocation::MemeNoteBlockTeleports}

gentle pivot
#

Hej wants the variabel to be a global Not a player based

proven ember
#

oh then ur right i misread it entirely :e

gentle pivot
acoustic escarp
#

bruh theres a stupid wandering trader in my ear

#

do i have to use setlocation before the name of the tp or no?

gentle pivot
#

Whst you mean. You can change the variable if you want

acoustic escarp
#

i got it work thx