Share Code Quickly

What is Harigami?

Harigami is a simple source code sharing service. You can share source code by an URL which is issued after submission.
You can also run your source code online such as Python, Ruby, JavaScript and so on.
For free.Use for code review.
Preferences
anonymous 魔球2
VBA
Sub Makyuu2()

    ' 縦20(1-20) × 横10(A-J) のセル範囲限定
    Dim x As Long, y As Long, arr(21, 11) As Long, Asum As Long, ST_Asum As Long
    
    ' 配列のセル位置に該当する箇所全てに1をセット(初期化) ※更に一回り大きい部分は0になっている
    For y = 1 To 20
        For x = 1 To 10
            arr(y, x) = 1
        Next
    Next
      
    ' 上、右、下、左 それぞれで、罫線が無い隣り合う値に0があれば自身を0にする、前回との差が無ければループを抜ける
    Do
        ST_Asum = Asum
        Asum = 0
        For y = 1 To 20
            For x = 1 To 10
                If Cells(y, x).Borders(xlEdgeTop).LineStyle = -4142 And arr(y - 1, x) = 0 Then arr(y, x) = 0
                If Cells(y, x).Borders(xlEdgeRight).LineStyle = -4142 And arr(y, x + 1) = 0 Then arr(y, x) = 0
                If Cells(y, x).Borders(xlEdgeBottom).LineStyle = -4142 And arr(y + 1, x) = 0 Then arr(y, x) = 0
                If Cells(y, x).Borders(xlEdgeLeft).LineStyle = -4142 And arr(y, x - 1) = 0 Then arr(y, x) = 0
                Asum = Asum + arr(y, x)
            Next
        Next
    Loop While Asum <> ST_Asum
    
    ' セル位置に該当する配列の値が1のとき色を塗る
    For y = 1 To 20
        For x = 1 To 10
            If arr(y, x) = 1 Then Cells(y, x).Interior.Color = vbYellow
        Next
    Next

End Sub
anonymous No title
JavaScript
testtest
anonymous YouTubeの現在の再生時間をクリップボードに貼り付けるブックマークレット
MIT JavaScript
javascript:(function(){var v = document.querySelector('video'); var h = Math.floor(v.getCurrentTime() / 3600);var m =  Math.floor((v.getCurrentTime() / 3600 - h)*60); var s =  Math.floor(((v.getCurrentTime() / 3600 - h)*60 - m )* 60);var text = h.toString().padStart(2,'0')+':'+m.toString().padStart(2,'0')+':'+s.toString().padStart(2,'0'); var ta = document.createElement("textarea"); ta.value = text; document.body.appendChild(ta); ta.select();document.execCommand("copy"); ta.parentElement.removeChild(ta);})();
anonymous 簡易掲示板
PHP
<?php
//http://co-19-301.99sv-coco.com/kadai/kadai2/kadai2_advanced_level.php
$dsn      = 'mysql:dbname=co_19_301_99sv_coco_com;host=localhost';
$user     = 'co-19-301.99sv-coco_c';
$password_db = 'Em4kxvSU';

try{
  $dbh = new PDO($dsn, $user, $password_db);
  $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

}catch(PDOException $e){
  print("データベースの接続に失敗しました".$e->getMessage());
  die();
}

$isEditMode = 0;
$edit_id = 0;
/////////////////// 入力された名前とコメントのデータを取得 ////////////////
if (isset($_POST["name"]) && isset($_POST["comment"])) {
  if($_POST["name"] != "" && $_POST["comment"] != "") {

    $_normalAddMode = true;
    $edit_id = $_POST["edit_id"];
    
    if ($edit_id) {
      $time = date("Y-m-d H:i:s");
      $name = $_POST["name"];
      $comment = $_POST["comment"];
      $password = $_POST["password"];

      try {
        // クエリの作成(UPDATE)
        $query = 'UPDATE kadai2_MySQL_TEST SET name = :name, comment = :comment, time = :time, password = :password WHERE id = :id';
        $stmt = $dbh->prepare($query);
        // 実行
        $stmt->execute(array(':name' => $name, ':comment' => $comment, ':time' => $time, ':password' => $password, ':id' => $edit_id));
      }catch(PDOException $e){
        print("データベースの接続に失敗しました");
        die();
      }
      
      $_normalAddMode = false;
      $isEditMode = 0;
    }
    
    if ($_normalAddMode) {
      if($_POST["password"] != "") {

        // $fp = fopen("input_data_with_password.txt", "a+");
        
        $time = date("Y-m-d H:i:s");
        $name = $_POST["name"];
        $comment = $_POST["comment"];
        $password = $_POST["password"];
        try{
          $dbh = new PDO($dsn, $user, $password_db);
          $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
          // クエリの作成(INSERT)
          $query = 'INSERT INTO kadai2_MySQL_TEST(name, comment, time, password) VALUES(:name, :comment, :time, :password)';
          $stmt = $dbh->prepare($query);
                
          $stmt -> bindValue(':name', $name, PDO::PARAM_STR_CHAR);
          $stmt -> bindValue(':comment', $comment, PDO::PARAM_STR_CHAR);
          $stmt -> bindValue(':time', (string)$time, PDO::PARAM_STR_CHAR);
          $stmt -> bindValue(':password', $password, PDO::PARAM_STR_CHAR);
                
          // 実行
          $stmt->execute();
        
        }catch(PDOException $e){
          print("データベースの接続に失敗しました");
          die();
        }
      }
    }
    
  }

}

/////////////////// 指定された番号のコメントを削除 ////////////////
if (isset($_POST["delete_number"]) && isset($_POST["password_delete"])) {

  $delete_number = $_POST["delete_number"];

  $password_delete = $_POST["password_delete"];
  $password_delete_check = "";
  try {
    // 入力された番号に対応したidを見つける
    $query = 'SELECT * FROM kadai2_MySQL_TEST';
    $stmt = $dbh->query($query);
    $count = 0;
    $delete_id = 0;
    while($row = $stmt->fetch(PDO::FETCH_ASSOC)){
      $count++;
      $id = $row["id"];
      if ($delete_number == $count) $delete_id = $id;
    }

    // クエリの実行(SELECT)
    $query = 'SELECT * FROM kadai2_MySQL_TEST WHERE id =' . $delete_id;
    $stmt = $dbh->query($query);
    // チェック用のPassword
    while($row = $stmt->fetch(PDO::FETCH_ASSOC)){
      $password_delete_check = $row["password"];
    }
  
    if ($password_delete == $password_delete_check) {
      // クエリの作成(DELETE)
      $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
      $query = 'DELETE FROM kadai2_MySQL_TEST WHERE id = :id';
      $stmt = $dbh->prepare($query);
      // 実行
      $stmt->execute(array(':id' => $delete_id));

    }
    else if ($password_delete_check == "") echo "<script type='text/javascript'>alert('対象のコメントがありません。');</script>"; 
    else echo "<script type='text/javascript'>alert('パスワードが違います。');</script>"; 

  }catch(PDOException $e){
    print("データベースの接続に失敗しました");
    die();
  }
}

/////////////////// 指定された番号のコメントを表示(edit) ////////////////
if (isset($_POST["edit_number"]) && isset($_POST["password_edit"])) {
  
  $password_edit = $_POST["password_edit"];
  $password_edit_check = "";

  $edit_number = $_POST["edit_number"];

  try {
    // 入力された番号に対応したidを見つける
    $query = 'SELECT * FROM kadai2_MySQL_TEST';
    $stmt = $dbh->query($query);
    $count = 0;
    $edit_id = 0;
    while($row = $stmt->fetch(PDO::FETCH_ASSOC)){
      $count++;
      $id = $row["id"];
      if ($count == $edit_number) $edit_id = $id;
    }

    $query = 'SELECT * FROM kadai2_MySQL_TEST WHERE id = ' . $edit_id;
    $stmt = $dbh->query($query);
  
    while($row = $stmt->fetch(PDO::FETCH_ASSOC)){
      $name_form = $row["name"];
      $comment_form = $row["comment"];
      $password_form = $row["password"];
      $password_edit_check = $row["password"];
    }
     
    if ($password_edit == $password_edit_check) $isEditMode = $edit_id;
    else if ($password_delete_check == "") echo "<script type='text/javascript'>alert('対象のコメントがありません。');</script>"; 
    else echo "<script type='text/javascript'>alert('パスワードが違います。');</script>";

  }catch(PDOException $e){
    print("データベースの接続に失敗しました");
    die();
  }

}

// 接続を閉じる
$dbh = null;
?>

<!DOCTYPE html>
<html lang="ja">
  <head>
    <meta charset="UFT-8">
    <title>簡易掲示板</title>
    <link rel="stylesheet" type="text/css" href="index.css">
    <script type="text/javascript">
      function check(){
      	if(confirm('削除してよろしいですか?')){
      		return true;
      	}
      	else{
      		alert('キャンセルされました');
      		return false;
      	}
      }
    </script>
  </head>
<body>
  <div class="container">

    <h1>簡易掲示板</h1>
    <form action="kadai2_advanced_level.php" method="post">
      <input type="hidden" value=<?php echo $isEditMode; ?> name="JugeEditMode_inInputForm">
      <input type="hidden" value=<?php echo $edit_id; ?> name="edit_id" >
      <div class="form-element">
        <p>名前:</p>
        <input type="text" name="name" value=<?php
          if ($isEditMode) echo $name_form;
          else echo "";
        ?> >
      </div>
      <div class="form-element">
        <p>コメント:</p>
        <input type="text" name="comment" value=<?php
          if ($isEditMode) echo $comment_form;
          else echo "";
        ?> >
      </div>
      <div class="form-element set_btn">
        <p>パスワード:</p>
        <input type="password" name="password" value=<?php
          if ($isEditMode) echo $password_form;
          else echo ""; ?> >
        <button class="btn-submit" type="submit">投稿</button>
      </div>
      <div class="comment_lineup">
        <?php 
          echo '<div class="info ex">';
          echo '<p class="main_info">ID : id, <span style="font-weight: bold;"> 名前 </span><span style="font-weight: bold;">「コメント」</span> </p><p class="time_info">時間</p>';
          echo "</div>";
          $count = 1;
          try{
            $dbh = new PDO($dsn, $user, $password_db);
            $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
            // クエリの実行(SELECT)
            $query = 'SELECT * FROM kadai2_MySQL_TEST';
            $stmt = $dbh->query($query);          
            // 表示処理
            while($row = $stmt->fetch(PDO::FETCH_ASSOC)){
              $id = $row["id"];
              $name = $row["name"];
              $comment = $row["comment"];
              $time = $row["time"];
      
              echo '<div class="info">';
              echo '<p class="main_info">ID : ' . $count . ', <span style="font-weight: bold;"> ' . $name . "</span>" . '<span style="font-weight: bold;">「' . $comment . '」</span> </p><p class="time_info">' . $time."</p>";
              echo "</div>";
              $count++;
            }
          
          }catch(PDOException $e){
            print("データベースの接続に失敗しました");
            die();
          }

          $dbh = null;
          ?>
      </div>
    </form>
    <form class="form_mini" action="kadai2_advanced_level.php" method="post" onsubmit="return check()">
      <div class="form-element">
        <p>削除番号:</p><input type="number" name="delete_number">
      </div>
      <div class="form-element set_btn">
        <p>パスワード:</p>
        <input type="password" name="password_delete">
        <button class="btn-submit" type="submit">削除</button>
      </div>
    </form>
    <form class="form_mini" action="kadai2_advanced_level.php" method="post">
      <div class="form-element">
        <input type="hidden" value=<?php echo $isEditMode; ?> name="JugeEditMode">
        <p>編集番号:</p><input type="number" name="edit_number">
      </div>
      <div class="form-element set_btn">
        <p>パスワード:</p>
        <input type="password" name="password_edit">
        <button class="btn-submit" type="submit">番号を指定</button>
      </div>
    </form>
  
  </div>
  </body>
</html>
anonymous ろり用β版+2
Python
import json 
from requests_oauthlib import OAuth1Session 
import time
import statistics
import console
import clipboard
import re
import datetime
import notification
import sound
import sys
from console import hud_alert
import keyboard
import notification
import clipboard
import keyboard
import datetime
import tweepy
import json
import time
import glob
import base64
import calendar
import os
import sys
import re

CK = "UsIsoV0Uv8sYPcbVJOWIEbjOf"
CS = "lzYPAl58qL4BDBEOwiGQm5cfkiOWv9SFWFuq4TkoEfJntcHfxd"
AT = "1323897929820639232-P38esGX276Z7SPMbA3yWiIqg66cBFh"
AS = "USsuCkuFW8Z0NvlMrsCM4LYZ3jJS7fCyWmbGcEoqg0xP9"
twitter = OAuth1Session(CK, CS, AT, AS) #認証処理

url = "https://api.twitter.com/1.1/statuses/user_timeline.json" #タイムライン取得エンドポイント

# ********************************これより上、入力禁止******************************








roomID ="0000" # ルームIDを入力

set_time = "00" # パスツイ分を2桁記入(ex. 00分発なら00)









# ********************************これより下、入力禁止******************************

username = clipboard.get()
un_text = str(username)
un3 = un_text.split("/")

if "twitter" in un_text and "?" in un3[3]:
	# Profile linkからコピーする場合
	username = username.split("/")
	username = username[3].split("?")
	username = username[0]
elif "twitter" in un_text and "status" in un_text:
	# 任意のtweetからコピーする場合
	username = username.split("/")
	username = username[3]
else:	
	hud_alert("リンクをコピーしてください!")

while True:
    console.clear()
    if username == "":
      sys.exit()
    dt = datetime.datetime.now()
    dt_min = dt.strftime("%M")
    dt_now = dt.strftime("%Y/%m/%d %H:%M:%S.%f")
    print("[@"+username+"]>>>[Room]"+roomID+" [Time]"+set_time)
    print("更新中...({})".format(dt_now))
    if dt_min == set_time:
        params = {'count':1, 'screen_name':username, 'tweet_mode':'extended'}
        res = twitter.get(url, params=params)
        timeline = json.loads(res.text)
        for line in timeline:
            text = line['full_text']
            tt = line['created_at']
            tt = re.findall(r"\d+", str(tt))
            tt_min = tt[2]
            if tt_min != set_time:
                break
            content = re.findall(r"\d+", text)
            if len(content) == 0:
                sys.stdout.write("\rパスワードが見つかりません")
                sys.exit()
            elif len(content) == 1:
                pw = content[0]
                sound.play_effect('arcade:Coin_2', looping=False)
                notification.schedule(pw)
                keyboard.insert_text(pw)
                keyboard.insert_text("\n")
                sys.stdout.write("\rパスワードは"+pw+"です")
                sys.exit()
            elif len(content) >= 2 and roomID in content:
                index = content.index(roomID)
                pw = content[index+1]
                sound.play_effect('arcade:Coin_2', looping=False)
                notification.schedule(pw)
                keyboard.insert_text(pw)
                keyboard.insert_text("\n")
                sys.stdout.write("\rパスワードは"+pw+"です")
                sys.exit()
    time
anonymous No title
PHP
<html>
  <head>
    <title>簡易掲示板</title>
  </head>
  <script>
    function confirm_delete_func() {
        var select = confirm("本当に削除しますか?");
        return select;
    }
    function aleart_password() {
        aleart("パスワードが一致しません");
    }
  </script>
  <body>
    <h1>form</h1>
    <?php

      // データベース接続
      $url = "localhost";
      $user = "root";
      $pass = "D4agc9yf";
      $db = "co_19_295_99sv_coco_com";
      $link = mysqli_connect($url, $user, $pass, $db);

      // 接続エラー確認
      if( mysqli_connect_errno($link) ) {
        echo mysqli_connect_errno($link).':'.mysqli_connect_error($link);
      }
      // 文字コード設定
      mysqli_set_charset($link, "utf8");

      $filename = "kadai2_2.txt";
      if(!file_exists($filename)){ // 初回ファイル作成
        touch("kadai2_2.txt");
        $num = 1;
      }
      if(isset($_POST['button-post'])){ // 投稿
        if(!empty($_POST['name']) && !empty($_POST['comment']) && !empty($_POST['password'])){
          if(!empty($_POST['status'])){ // DBの編集
            $sql1 = "UPDATE form SET name = ?, comment = ?, date = ?, password = ? WHERE number = ?";
            if ($stmt1 = $link->prepare($sql1)) {
              $name = $_POST['name'];
              $comment = $_POST['comment'];
              $date = date("Y-m-d");
              $password = $_POST['password'];
              $stmt1->bind_param("sssss", $name, $comment, $date, $password, $_POST['status']);
            }
            $stmt1->execute();
          }else{
            // 最後に投稿された投稿番号+1を取得
            $sql0 = "SELECT number FROM form ORDER BY number DESC LIMIT 1";
            if ($result = $link->query($sql0)) {
              while($row = $result->fetch_assoc()) {
                $numnum = $row['number'];
              }
              $result->close();
            }
            if(!isset($numnum)){
              $numnum = 1;
            }else{
              $numnum = $numnum + 1;
            }

            // DBに追加
            $sql1 = "INSERT INTO form VALUES (?,?,?,?,?)";
            if ($stmt1 = $link->prepare($sql1)) {
              $name = $_POST['name'];
              $comment = $_POST['comment'];
              $date = date("Y-m-d");
              $password = $_POST['password'];
              $stmt1->bind_param("sssss", $numnum, $name, $comment, $date, $password);
            }
            $stmt1->execute();
          }
        }
      }else if(isset($_POST['button-edit']) && isset($_POST['confirmpasswordEdit'])){ // 編集(passwordあり)
        if(!empty($_POST['edit-number'])){
          // password確認
          $sql2 = "SELECT password FROM form WHERE number = ?";
          if ($stmt = $link->prepare($sql2)) {
            $editNum = $_POST['edit-number'];
            $stmt->bind_param("s", $editNum);
          }
          $stmt->execute();
          $stmt->bind_result($password); // 結果変数をバインド
          $stmt->fetch(); // 値を取得

          if($password==$_POST['confirmpasswordEdit']){
            $delete = 1;
          }
          $stmt->close(); // ステートメントを閉じる

          // passwordが一致した場合編集処理
          if($delete == 1){            
            $sql2 = "SELECT name,comment,password FROM form WHERE number = ?";
            if ($stmt = $link->prepare($sql2)) {
              $editNum = $_POST['edit-number'];
              // echo $_POST['edit-number'];
              // print(gettype($editNum));
              $stmt->bind_param("s", $editNum);
            }
            $stmt->execute();
            $stmt->bind_result($name,$comment,$password); // 結果変数をバインド
            $stmt->fetch(); // 値を取得

            $editName = $name;
            $editComment = $comment;
            $editPassword = $password;

            $stmt->close(); // ステートメントを閉じる
          }else{
            echo '<script type="text/javascript">alert("パスワードが違います");</script>';
          }
        }
      }else if(isset($_POST['button-delete']) && isset($_POST['confirmpasswordDelete'])){ // 削除(passwordあり)
        if(!empty($_POST['delete-number'])){

          // password確認
          $sql2 = "SELECT password FROM form WHERE number = ?";
          if ($stmt = $link->prepare($sql2)) {
            $deleteNum = $_POST['delete-number'];
            $stmt->bind_param("s", $deleteNum);
          }
          $stmt->execute();
          $stmt->bind_result($password); // 結果変数をバインド
          $stmt->fetch(); // 値を取得

          if($password==$_POST['confirmpasswordDelete']){
            $delete = 1;
          }
          $stmt->close(); // ステートメントを閉じる
          
          // passwordが一致した場合削除処理
          if($delete == 1){
            $sql1 = "DELETE FROM form WHERE number = ?";
            if ($stmt1 = $link->prepare($sql1)) {
              $stmt1->bind_param("s", $_POST['delete-number']);
            }
            $stmt1->execute();
          }else{
            echo '<script type="text/javascript">alert("パスワードが違います");</script>';
          }
        }
      }
      $total_list = "";
      $sql = "SELECT * FROM form";
      // クエリ文を実行し、結果を$resultに入れる
      if($result = mysqli_query($link, $sql)) {
        // 表示用の$total_listに代入
        while($row = mysqli_fetch_assoc($result)) {
          $total_list .= "<tr>".
          "<td>".$row['number']."</td>".
          "<td>".$row['name']."</td>".
          "<td>".$row['comment']."</td>".
          "<td>".$row['date']."</td>".
          "</tr>";
        }
        // 実行結果をクリア
        mysqli_free_result($result);
      }
      // データベースとの接続解除
      mysqli_close($link);
    ?>
    <h1>投稿フォーム</h1>
    <form action="kadai2_oyo.php" method="post">
      名前:<input type="text" name="name" value = "<?php if(!empty($editName)){echo $editName;}?>"><br>
      コメント:<input type="text" name="comment" value = "<?php if(!empty($editComment)){echo $editComment;}?>"><br>
      パスワード:<input type="text" name="password" value = "<?php if(!empty($editPassword)){echo $editPassword;}?>"><br>
      <input type="hidden" name="status" value="<?php if(!empty($editNum)){echo $editNum;}?>">
      <?php 
      if(isset($_POST['button-post'])){ // 投稿
        if(empty($_POST['name']) || empty($_POST['comment']) || empty($_POST['password'])){
          echo "名前・コメント・パスワードを全て入力してください<br />";
        }
      }
      ?>
      <input type="submit" name="button-post" value="投稿">
    </form>
    <h1>編集フォーム</h1>
    <form action="kadai2_oyo.php" method="post">
      編集番号:<input type="text" name="edit-number" value = "<?php if(!empty($_POST['edit-number'])){echo $_POST['edit-number'];}?>">
      <input type="submit" name="button-edit-request" value="編集"><br>
      <?php
      if(isset($_POST['button-edit-request'])){
        if(!empty($_POST['edit-number'])){
          echo "<input type='text' name='confirmpasswordEdit' placeholder='password'>";
          echo "<input type='submit' name='button-edit' value='確定'>";
        }else{
          echo "編集番号を入力してください";
        }
      }
      ?>
    </form>
    <h1>削除フォーム</h1>
    <form action="kadai2_oyo.php" method="post">
      削除番号:<input type="text" name="delete-number" value = "<?php if(!empty($_POST['delete-number'])){echo $_POST['delete-number'];}?>">
      <input type="submit" name="button-delete-request" value="削除"><br>
      <?php
      if(isset($_POST['button-delete-request'])){
        if(!empty($_POST['delete-number'])){
          echo "<input type='text' name='confirmpasswordDelete' placeholder='password'>";
          echo "<input type='submit' name='button-delete' value='確定' onclick='return confirm_delete_func()'>";
        }else{
          echo "削除番号を入力してください";
        }
      }
      ?>
    </form>
    <h1>投稿一覧</h1>
    <!-- テ ー ブ ル の 作 成 -->
    <table border=4>
      <tr bgcolor="#cccccc">
      <th>番号</th>
      <th>名前</th>
      <th>コメント</th>
      <th>投稿日</th>
      </tr>
      <?php echo $total_list ?>
    </table>
  </body>
</html>
anonymous PythonでTurtleで五輪
Python
import turtle as t

kame = t.Turtle()
kame.hideturtle()


def draw_circle(line_color):
    kame.color(line_color)
    kame.pensize(7)
    kame.circle(100)


def kame_move(x, y):
    kame.penup()
    kame.goto(x, y)
    kame.pendown()


kame_move(-220, 55)
draw_circle('#0081c8')

kame_move(-110, -55)
draw_circle('#fcb131')

kame_move(0, 55)
draw_circle('#000000')

kame_move(110, -55)
draw_circle('#00a651')

kame_move(220, 55)
draw_circle('#ee334e')
anonymous No title
Python
import dialogs , sound , clipboard , keyboard 
import sys , os , console , time

dialogs.hud_alert("オートアマゾン起動	")
time.sleep(0.8)

for i in range(50):
	print("[{0}]アマゾン検索中...".format(i))
	time.sleep(0.05)
	console.clear()
sound.play_effect("arcade:Explosion_4",volume=1000)
dialogs.hud_alert("アマゾンが見つかりません")
keyboard.insert_text("アマゾンが見つかりません")
console.clear()
anonymous No title
Python
import dialogs , sound , clipboard , keyboard 
import sys , os , console , time

dialogs.hud_alert("オートアマゾン起動	")
time.sleep(0.8)

for i in range(50):
	print("[{0}]アマゾン検索中...".format(i))
	time.sleep(0.05)
	console.clear()
sound.play_effect("arcade:Explosion_4",volume=1000)
dialogs.hud_alert("アマゾンが見つかりません")
keyboard.insert_text("アマゾンが見つかりません")
console.clear()
anonymous No title
Python
import dialogs , sound , clipboard , keyboard 
import sys , os , console , time

dialogs.hud_alert("オートアマゾン起動	")
time.sleep(0.8)

for i in range(50):
	print("[{0}]アマゾン検索中...".format(i))
	time.sleep(0.05)
	console.clear()
sound.play_effect("arcade:Explosion_4",volume=1000)
dialogs.hud_alert("アマゾンが見つかりません")
keyboard.insert_text("アマゾンが見つかりません")
console.clear()