Log In  

Cart #rndcart-0 | 2024-01-31 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Random Cart loader

This cartridge loads a random numerical id cartridge of bbs. basically any cart on bbs thats cart id is a number.

Update 2.0 : Compress code + fix display bug

P#130435 2023-06-01 23:16 ( Edited 2024-01-31 21:38)

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 ! it 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 ( Edited 2024-01-31 21:38)

@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]