Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 25 additions & 2 deletions script_library/index.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"format_version": 1,
"data_version": 95,
"updated": "2026-04-17T18:24:51.985Z",
"data_version": 96,
"updated": "2026-04-18T08:19:40.482Z",
"announcement": null,
"categories": [
{
Expand Down Expand Up @@ -1654,6 +1654,29 @@
"updated": null,
"status": "active",
"lines": 26
},
{
"id": "script_mo42gfjn",
"name": "逐字显示:适合于文字游戏",
"name_en": "逐字显示:适合于文字游戏",
"desc": "/i开头是问句,正常就是显示,修改L列表就可以做到剧情游戏了",
"desc_en": "/i开头是问句,正常就是显示,修改L列表就可以做到剧情游戏了",
"category": "basic",
"file": "scripts/basic/script_mo42gfjn.py",
"thumbnail": null,
"version": 1,
"file_type": "py",
"author": "ioo",
"author_en": "ioo",
"tags": [
"community"
],
"requires": [],
"min_app_version": "1.5.0",
"added": "2026-04-18",
"updated": null,
"status": "active",
"lines": 17
}
]
}
17 changes: 17 additions & 0 deletions script_library/scripts/basic/script_mo42gfjn.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 欢迎使用 PythonIDE!如果觉得好用,请给个好评哦~
import time
def show(text,s=0.1):
for i in list(text):
print(i,end="")
time.sleep(s)
print("")
def text(text):
if text.startswith("/i"):
show(text[2:])
return input()
else:
show(text)
L=["你好","欢迎来到这里","/i你的名字?"]
for k in L:
i=text(k)
print(i if i else "",end="\n" if i else "")