Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- note = "actitles is a String of titles";
- upnext = "Split titles into first and last titles";
- actitles = actitles.split("#####################################################################################################");
- title1 = actitles[0].split(";");
- title2 = actitles[1].split(";");
- upnext = "Generate output";
- title1[Math.floor(Math.random() * (title1.length - 1))] + " " + title2[Math.floor(Math.random() * (title2.length - 1))];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement