Categories > WeAreDevs > Suggestions >

Code block bugs and Rogue Hub on scripts page

Alternate

stop take my rice

vip

Posts: 712

Threads: 113

Joined: Mar, 2022

Reputation: 40

Posted

So, first, code blocks are kinda broken lmfao, they look pretty ugly and don't really work anymore.

 

Also, Rogue Hub is still on the scripts page despite it being discontinued

 

Code block example below:

import random
import string

def generate_password(length=12):
    characters = string.ascii_letters + string.digits + string.punctuation
    password = ''.join(random.choice(characters) for i in range(length))
    return password
  • 1

we are dead

Posts: 414

Threads: 3

Joined: Apr, 2021

Reputation: 43

Replied

Tbh most of the scripts on the Scripts page need to be changed to newer scripts. Jon really should consider removing most of the scripts on there and replacing them with modern scripts.

  • 0

I am Styx/John/JJ.

I specialize in Luau, and I don't accept commissions. I am Jupiter's current and only founder, a known script for Prison Life. Jupiter is open-source to provide transparency.

Posts: 975

Threads: 34

Joined: Dec, 2016

Reputation: 108

Replied

@tempegoreng, You were right. The feature works, but it wasn't set to accept Python; Although the editor option list made it seem so. I've just now added support for it. I've also added support for Rust.

 

import random
import string

def generate_password(length=12):
    characters = string.ascii_letters + string.digits + string.punctuation
    password = ''.join(random.choice(characters) for i in range(length))
    return password

 

// This is the main function.
fn main() {
    // Statements here are executed when the compiled binary is called.

    // Print text to the console.
    println!("Hello World!");
}
  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )