#Why does my rtp skript work

1 messages · Page 1 of 1 (latest)

silk glade
#
  name of clicked entity is "Random Teleport"
  run console command "rtp player {userName}"```
novel pawn
#

isn't that a good thing

rigid olive
#

Are you questioning your own skill?

#

Rookie move

silk glade
rigid olive
#

"Why does my rtp skript work"

novel pawn
#

"Why does my rtp skript work"

silk glade
#

i meant not work :(((

rigid olive
#

HAHA

silk glade
#

😢

novel pawn
#

if you're asking questions about code functionality you should really send like relevant code, or at least information

rigid olive
#

Alright, so I'd start with this:
Skript uses %% not {} to refer to expressions in a string

novel pawn
#

assuming /rtp is from a different plugin, ^

silk glade
#

yes

silk glade
#

but thank you

rigid olive
#

It's the same in python so I see

#

Also, username isn't how you refger to it

silk glade
#

fr?

#

dang i forgot everything i guess

silk glade
rigid olive
#

player

silk glade
#

is run console command not a thing?

rigid olive
#

execute

raw flower
#

And refresh your memory