emulating 'enter' in BookMeta

Discussion in 'Plugin Development' started by tuskiomi, Jun 21, 2013.

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

    tuskiomi

    hello all, I'm making an informational book for my plugin and i have the following code:
    Code:java
    1. BM.addPage("Table Of contents /n" +
    2. "3 - intro /n" +
    3. "4 - building /n" +
    4. "5 - battling /n" +
    5. "6 - rewards /n");

    this obviously doesn't work, but how would i go about replacing the /n with ascii charecter #13 (enter.)
     
  2. I think you're actually wanting \n instead?
     
  3. Offline

    chasechocolate

  4. Offline

    tuskiomi

    *facepalm* okay, thanks guys. I had a stupid moment.
     
Thread Status:
Not open for further replies.

Share This Page