Getting Integer in Lore?

Discussion in 'Plugin Development' started by mattrick, Oct 11, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    mattrick

    Hi everyone! I know there is probably a simple solution, but how do I get an integer from lore. For instance, if I have lore that is "Kills: 5" how would I get 5 from the lore? Thanks in advance!
     
  2. Offline

    waicool20

    string.subSequence(7,string.length);
    Gets character starting at the the 7th index until the end of the string
     
  3. Offline

    mattrick

    I would have to change 7 to the number of characters for a different set of lore though right?
     
Thread Status:
Not open for further replies.

Share This Page