#Xp helpM (1.17.1 (Skbee, Skquery) are the addons

1 messages · Page 1 of 1 (latest)

covert falcon
#

This doesn't give off errors and it does everything but gives me the xp Heres the code vbs on right click with a paper: if player's tool is paper named "&fblabla" with lore "&fBlabla": tool of the player is enchanted with mending: execute console command "xp give %player% 100" remove item from player's inventory not poggers. no work ):

karmic wasp
#

@covert falcon you holding multiple papers?

covert falcon
#

No only 1

#

why

karmic wasp
#

ah just was wondering

covert falcon
#
on right click with a paper:
  if player's tool is paper named "&fblabla" with lore "&fBlabla":
  if tool of the player is enchanted with mending:
    execute console command "xp give %player% 100"
    remove item from player's inventory``` improved
karmic wasp
#

I'm little lost on the issue outside of your intends being pretty off

what do you mean by

it does everything but gives me the xp
like it doesn't give the xp?

covert falcon
#

Yes

#

it removes it from my inv

#

and all the stuff

#

just not the xp

#

xp is broken

karmic wasp
#

then I don't believe it's related to skript but your command usage make sure that's correct
but since you have skbee you can just do add 100 to total experience of player

covert falcon
#

on right click with a paper:
if player's tool is paper named "&fblabla" with lore "&fBlabla":
if tool of the player is enchanted with mending:
add 100 to total experience of player
remove item from player's inventory

#

now it doesnt take the paper

#

NVM

#

TY

#

but one last question

#

instead of it giving xp is there a way for it to just give levels?

karmic wasp
#

vanilla skript player's level should really check docs over just asking these tho