📄 settings_usercommands.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=us-ascii" http-equiv="content-type">
<link href="office11.css" rel="stylesheet" type="text/css">
<title>User Commands</title>
</head>
<body>
<h1>User Commands</h1>
<h2>Command Types:</h2>
<dl style="margin-left: 40px;">
<dt>Separator</dt>
<dd>Adds a separator to the menu</dd>
<dt>Raw</dt>
<dd>Sends raw command to the hub (experts only, end it with '|'!)</dd>
<dt>Chat</dt>
<dd>Sends command as if you were typing it in the chat</dd>
<dt>PM</dt>
<dd>Sends command as if you sent it by pm</dd>
</dl>
<h2>Context</h2>
Contexts determine where the command is shown.<br>
<dl style="margin-left: 40px;">
<dt>Hub Menu</dt>
<dd>Hub tab (at the bottom of the screen) right-click menu</dd>
<dt>Chat Menu </dt>
<dd>User right-click menu in chat and PM tab menu</dd>
<dt>Search Menu</dt>
<dd>Search right-click menu </dd>
<dt>File list Menu</dt>
<dd>File list right-click menu</dd>
</dl>
<h2>Parameters</h2>
<dl style="margin-left: 40px;">
<dt>Name</dt>
<dd>Name (use '\' to create submenus)</dd>
<dt>Command</dt>
<dd>Command text (may contain any of the variables listed below). Use Ctrl + Enter to create a new line.</dd>
<dt>Hub </dt>
<dd>Hub ip as typed when connecting (empty = all hubs, "op" = hubs
where you're an operator)</dd>
<dt>To</dt>
<dd>Private Message recipient</dd>
<dt>Send Once Per Nick</dt>
<dd>Send only once per user from search frame, regardless of how many
files you've selected from that user</dd>
</dl>
<h2>Variables</h2>
In the parameters, you can use %[<span style="font-weight: bold;">xxx</span>]
variables and <a href="settings_logs.html#timeformat">date/time
specifiers</a> (%Y, %m, ...). The following variables are also
available:<br>
<ul style="margin-left: 40px;">
<li>%[mynick]: your own nick</li>
<li>%[nick]: the user's nick (user & search context only)</li>
<li>%[tag]: user tag (user & search context only)</li>
<li>%[description]: user description (user & search context only)</li>
<li>%[email]: user email (user && search context only)</li>
<li>%[share]: user shared bytes (exact) (user && search
context only)</li>
<li>%[shareshort]: user shared bytes (formatted) (user &&
search context only)</li>
<li>%[ip]: user ip (if supported by hub)</li>
<li>%[file]: filename (search context and in transferview only)</li>
<li>%[filesize]: file size (search context only)</li>
<li>%[filesizeshort]: file size, short version including units
(search context only)</li>
<li>%[tth]: tth for the file (search context only)</li>
<li>%[line:reason]: opens up a window asking for "reason"</li>
<li>%[mycid]: your ADC CID </li>
<li>%[cid]: user's ADC CID </li>
</ul>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -