Character's exp and sp


#1

How can i access to character’s exp and sp info?


#2

Statistics


#3

Since we are in the plugins category, im asking about that :slight_smile:


#4

get_character_data()


#5

https://projecthax.gitbook.io/phbot-plugins/phbot-api/character


#6

gg ^^^


#7

am i blind or just i can’t see any info about exp and sp ?


#8

There is an exp field. It’s just not shown on that site.


#9

EXP = str(get_character_data()[‘sp’])
SP = str(get_startup_data()[‘current_exp’])


#10

Probably want to use int or float instead so you can compare them if needed.


#11

okey, i found what i need, thanks