Advertisement
Index154

accode

Apr 10th, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. note = "actitles is a String of titles";
  2.  
  3. upnext = "Split titles into first and last titles";
  4. actitles = actitles.split("#####################################################################################################");
  5. title1 = actitles[0].split(";");
  6. title2 = actitles[1].split(";");
  7.  
  8. upnext = "Generate output";
  9. 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