Log In  

Cart #randomcartloader-0 | 2023-06-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Random Cart loader

Loads random cartridge off bbs

Fun for wasting time and getting nothing done!

P#130435 2023-06-01 23:16

It just loaded kick wizards off of bbs.

P#130518 2023-06-04 23:10

This is interesting. How does this work? Does it only load carts with numeric IDs?

P#130666 2023-06-08 11:56

You got it @ridgek ! basically it randomly seeds rnd, then picks a random number and then does this: load(flr(abs("#"..id) basically it joins # and id to make something like #-4192.5145, then it rounds it to make something like #-4193, then it removes the "-" to get #4193, then it loads it. the way load() works, if it cant load, the program continues, so it will just try again with a new random id.

P#130880 2023-06-13 05:17

@AntiBrain Thx for taking the time to respond! I forgot I can just click on the code button instead of asking dumb questions, lol!

P#130891 2023-06-13 08:45

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-11-29 08:20:32 | 0.050s | Q:25