import time import random import scratchattach as scratch3 session_1 = scratch3.login("Your name", "Your password") session_2 = scratch3.login("Your name2", "Your password2") while True: user = session_1.connect_user("user name") random_text = random.choice(["text1", "text2", "text3"]) random_number = random.randint(1, 100) user.post_comment(random_text + str(random_number)) user = session_2.connect_user("User name") random_text = random.choice(["text4", "text5", "text6"]) random_number = random.randint(1, 100) user.post_comment(random_text + str(random_number)) time.sleep(5) #Your name :your first account name #Your password :your first account password #Your name2 :your secound account name #Your password2 :your secound account password #user name :user name (Not yours) #text1~6 :Anything is fine (It's possible to increase it.) Thank you for @TimMcCool https://github.com/TimMcCool/scratchattach?tab=readme-ov-file
@-fire_FX- できたぞ これは、まだユーザープロフィールに連投する機能しか作っていないので、またアップグレードします! random.randint(1, 100)の役目 →スパム防止 アカウントが2個必要な理由 →連投禁止対策