#The skQuery in the script is not working

1 messages · Page 1 of 1 (latest)

subtle bramble
#

Errors:
[07:07:30 INFO]: Line 10: (tpa.sk)
[07:07:30 INFO]: Can't understand this expression: '"{text:"[Accept]",color:"green",bold:true,clickEvent:{action:"run_command",value:"/tpaccept %player%"}}"'
[07:07:30 INFO]: Line: set {_accept_button} to "{text:"[Accept]",color:"green",bold:true,clickEvent:{action:"run_command",value:"/tpaccept %player%"}}"
[07:07:30 INFO]:
[07:07:30 INFO]: Line 11: (tpa.sk)
[07:07:30 INFO]: Can't understand this expression: '"{text:"[Deny]",color:"red",bold:true,clickEvent:{action:"run_command",value:"/tpdeny %player%"}}"'
[07:07:30 INFO]: Line: set {_deny_button} to "{text:"[Deny]",color:"red",bold:true,clickEvent:{action:"run_command",value:"/tpdeny %player%"}}"
[07:07:30 INFO]:
[07:07:30 INFO]: Line 12: (tpa.sk)
[07:07:30 INFO]: Can't understand this condition/effect: send json "{text:"%player% teleport. ",extra:[%{_accept_button}%,%{_deny_button}%]}" to arg-1

vague inlet
#

SkQuery is outdated and useless

#

get rid of it

subtle bramble
#

Then what to use?

vague inlet
#

well idk what you're trying to do here

subtle bramble
#

Accept and reject buttons tp

subtle bramble
vague inlet
#

base skript should be enough

#

maybe SkBee depending on how you want to do it

subtle bramble
#

I'll try

light lynx
#

I'm assuming this is a message in chat? if so, here's an example: send formatted "&aRun Command: &b<cmd:/say hi>Click Here<tooltip:&dThis is clickable><reset>&cThis is not clickable"

subtle bramble
#

Right, but you can't click on that text.

#

@light lynx

maiden ember
#

yes you can

subtle bramble
#

I can't click on it

light lynx
#

yes...you can.

#

only reason why it wouldn't work is an incompatible server version.
Run the command /sk info in-game and send us a screenshot of the results