Hi.
I’m trying to load in data from the Runescape hiscores, the data structure is as follows:
Rank,Level,Xp(space)Rank,Level,Xp(space) etc.
Example data: https://secure.runescape.com/m=hiscore_oldschool/index_lite.ws?player=swampletics
559866,1305,16020717 448750,76,1336860 507980,73,993001 326590,90,5584463 471125,84,2983784 834444,71,830231 823142,49,94297 896577,65,466827 1103301,50,111220 629804,65,481761 733809,55,166760 655933,62,365270 421971,66,528570 673282,56,194564 736185,50,107826 448109,64,423037 654094,42,48234 456095,63,402594 257834,63,380955 572231,63,369397 704338,25,8146 -1,1,0 740105,19,4115 360108,53,138805 -1,-1 -1,-1 -1,-1 -1,-1 -1,-1 -1,-1 -1,-1 -1,-1 -1,-1
How can I load these into prolog so I can use them for equations, e.g see if entry 3 (players defence level) is higher than x?
I want to use assert to save the levels so they can be used when asking questions (for chatbot).
Thanks,
Jan Julius