magic12153 Posted January 8 Share Posted January 8 Hello, I'm very new to scripting ( hell, I haven't even tried changing anything in the API) but I would like to restrict world hopper to only a specific range of worlds. Specifcially, total level worlds. Does anyone have any advice on how I can do this? Ideally an eli5. Quote Link to comment Share on other sites More sharing options...
Muffins Posted January 8 Share Posted January 8 eli5: create a list of worlds you want to hop to, iterate through that list's index, hop to worldList[x] 1 Quote Link to comment Share on other sites More sharing options...
magic12153 Posted January 8 Author Share Posted January 8 1 hour ago, Muffins said: eli5: create a list of worlds you want to hop to, iterate through that list's index, hop to worldList[x] You lost me at "iterate through that list's index, hop to worldList[x]" Would you be willing to help me set this up as like a fiver type job? Would be much appreciated. Quote Link to comment Share on other sites More sharing options...
Muffins Posted January 8 Share Posted January 8 2 hours ago, magic12153 said: You lost me at "iterate through that list's index, hop to worldList[x]" Would you be willing to help me set this up as like a fiver type job? Would be much appreciated. I would recommend learning the basics of Java (and programming) in general before attempting to write a script. //pseucode for what i was talking about below List worldList = [301,302,303,304,305,306,307,308,309] int x = 0; //zero is beginning of an array if wantToWorldhop(){ worlds.hop(worldList[x]); x++; //x is now 1, x will not hop to 302 next time of calling worlds.hop(worldlist[x]) } Quote Link to comment Share on other sites More sharing options...