-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathsettings.html
More file actions
43 lines (39 loc) · 1.83 KB
/
Copy pathsettings.html
File metadata and controls
43 lines (39 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<div id="sorcery-button" class="drawer">
<div class="drawer-toggle drawer-header">
<div class="drawer-icon fa-solid fa-hat-wizard fa-fw closedIcon" title="Sorcery"></div>
</div>
<div class="drawer-content closedDrawer">
<div class="flex-container alignitemscenter">
<h3 class="margin0 flex1">
<span>Sorcery</span>
<a href="https://github.com/p-e-w/sorcery" class="notes-link" target="_blank">
<span class="fa-solid fa-circle-question note-link-span"></span>
</a>
<small>Execute arbitrary STscript/JavaScript when things happen in the chat</small>
</h3>
<label class="checkbox_label" title="Globally enable/disable Sorcery script execution">
<input id="sorcery-enabled" type="checkbox" />
Enabled
</label>
</div>
<div class="caution">
<strong>Caution:</strong>
STscript can perform potentially destructive actions such as delete messages and chats,
and JavaScript can do anything STscript can, plus things like read your API keys
and contact external servers. Think before you type, and do not paste random code here
if you don't understand what it does.
</div>
<div class="flex-container alignitemscenter">
<div id="sorcery-new" class="menu_button menu_button_icon">
<i class="fa-solid fa-plus"></i>
<span>New script</span>
</div>
<div class="flex1"></div>
<label class="checkbox_label">
<input id="sorcery-flash-icon" type="checkbox" />
Flash hat icon when executing script
</label>
</div>
<div id="sorcery-scripts"></div>
</div>
</div>