Solved Returning Stringlist in Different pages

Discussion in 'Plugin Development' started by Unica, Nov 1, 2014.

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

    Unica

    Allright, I am clueless xD

    Anyone got an idea how to return a stringlist in mutliple pages?
    for example, if the size of the list is more than x then it would automatically create a new page.
    Also used in (examples): Factions /f list, Essentials /warps, Worldguard /region list etc.

    If anyone could give me a push in the right direction, thanks!
     
  2. Offline

    Lewishjames

    You will have to create a separate argument on the command so for example /f list 2
     
  3. Offline

    Unica

    Lewishjames

    .. sherlock.
    I meant automatically creating / returning a list in pages.
     
  4. Offline

    teej107

  5. Offline

    Unica

    teej107

    I've looked through it, but I am still quite unaware how to achieve such a thing as I am trying.

    Current Code:
    Snip

    EDIT: Got a fix I think. Testing atm.
     
  6. Offline

    Watto

    Unica

    You arent even passing a second parameter in your .subList current code.
     
  7. Offline

    Unica

    Watto

    I know lol. I was stuck there.


    Solved by myself :)

     
Thread Status:
Not open for further replies.

Share This Page