Log In  

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

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
1

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-09-30 12:39:05 | 0.046s | Q:21