import random
import time

print("Roboscript alpha v 0.0.1 |wait 3 sec \n")
time.sleep(3)

print(
    "welcome to Roboscript v0.0.1 alpha \n by youssef erradi see some commands \n |info |programing |textp |website \n"
)

x = input()

# --- COMMANDS ---
if x == "|info":
    print(
        "Roboscript is a programing language by youssef erradi eazy and use python coming soon Roboscript will support robot programing"
    )

elif x == "|textp":
    input("text prompt \n")

elif x == "|website":
    print(
        "website of Roboscript is:\n https://roboscript.neocities.org\n group of roboscript is:\n https://chat.whatsapp.com/HdePvJED7qODrzzElsodNr"
    )

elif x == "|programing":
    co = input("you code\n")

    # --- ROBOSCRIPT CODE INTERPRETER ---
    # These must be inside or after the "|programing" block so 'co' exists!
    if co == "[hi]":
        print("hiiiii")
    elif co == "[67]":
        print("20 + 20 + 20 + 7 = 67")
    elif co == "[sleep]":
        print("zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz")
    elif co == "[youssef erradi]":
        print(" /———\\ \n |  !    !  |\n|  ____  |\n \\____/")
    elif co == "[123]":
        print(3)
        time.sleep(2)
        print(2)
        time.sleep(3)
        print(1)
        time.sleep(4)
        print("yeah")
    elif co == "[bug/add]":
        print(
            "if you want to add you freework to roboscript \n goto : \n superanimfx@gmail.com"
        )
