Categories > WeAreDevs > Suggestions >
Code block bugs and Rogue Hub on scripts page
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
we are dead
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.
Cancel
Post
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.
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!");
}
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post