You are viewing a single comment's thread from:

RE: LeoThread 2025-12-05 03-39

in LeoFinance5 hours ago

didn't create that. That's something that we inherit. We got args, and we're looking at the first one. And the reason that we're looking at the first one is because the function of this little dice roller script is going to only allow for one number. And that is the upper limit of the dice that you want to roll. And then finally, the last line of this little, of this section is roller, which of course invokes our roller function, num, close parentheses, close parentheses. I absolutely will include that code in the show notes. But let's give it a go. We'll do, um, I guess I'll chmod plus x dice dot SCM, and then I'll do a dot slash dice dot SCM, nothing. Um, it errors out because I forgot to give it an argument. So dot slash dice SCM 21, it returns 9. I probably need to put a new line in there somewhere because it returns it at the beginning of my prompt, which is kind of annoying. Where can I put that? Maybe at the end of this function here. New line. So I'm putting a new line at the (45/55)