Scripting Commands » History » Version 210
Per Amundsen, 02/12/2023 08:17 AM
1 | 162 | Mr. BS | {{css |
---|---|---|---|
2 | body { |
||
3 | counter-reset: count; |
||
4 | } |
||
5 | .tcount { |
||
6 | counter-reset: adi; |
||
7 | } |
||
8 | .tcount a { |
||
9 | counter-increment: count; |
||
10 | } |
||
11 | .tcount strong { |
||
12 | counter-increment: adi; |
||
13 | } |
||
14 | .acounter::before { |
||
15 | content: "Total: " counter(count) " commands, " counter(adi) " are AdiIRC exclusive. "; |
||
16 | } |
||
17 | }} |
||
18 | |||
19 | 73 | Per Amundsen | {{>toc}} |
20 | 1 | Per Amundsen | |
21 | h1. Scripting Commands |
||
22 | 2 | Per Amundsen | |
23 | Parameters in [x] means they are optional. |
||
24 | Parameters in <x> means they are required. |
||
25 | Parameters with a x|y means either x or y can be used. |
||
26 | 3 | Per Amundsen | |
27 | Click on a command to read more about it. |
||
28 | 154 | Per Amundsen | |
29 | 27 | Per Amundsen | _Commands in bold is AdiIRC only._ |
30 | 1 | Per Amundsen | |
31 | 208 | Per Amundsen | {{html |
32 | 210 | Per Amundsen | <style> .conthead {display: flex;flex-wrap: wrap;list-style-type: none;margin: 0;padding: 0;}.cont { display: flex;flex-wrap: wrap;list-style-type: none;margin: 0;padding: 0;}.cont li {flex: 0 0 20%;border: none;margin-left: 2px;margin-right: 2px}</style><div id="grid"><ul class="conthead"><p><b>A</b></p></ul><ul class="cont"><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/abook">/abook</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/aclear">/aclear</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/action">/action</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/advertise">/advertise</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/ajinvite">/ajinvite</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/alias">/alias</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/aline">/aline</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/allnick">/allnick</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/amark">/amark</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/ame">/ame</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/amsg">/amsg</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/anick">/anick</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/aop">/aop</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/aquit">/aquit</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/auser">/auser</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/autoconnect">/autoconnect</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/autojoin">/autojoin</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/avoice">/avoice</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/away">/away</a></li></ul><ul class="conthead"><p><b>B</b></p></ul><ul class="cont"><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/back">/back</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/background">/background</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/ban">/ban</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/banlist">/banlist</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/bcopy">/bcopy</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/beep">/beep</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/betaup">/betaup</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/bin2txt">/bin2txt</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/bindip">/bindip</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/bread">/bread</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/break">/break</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/breplace">/breplace</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/bset">/bset</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/btrunc">/btrunc</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/bunset">/bunset</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/bw">/bw</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/bwrite">/bwrite</a></li></ul><ul class="conthead"><p><b>C</b></p></ul><ul class="cont"><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/channel">/channel</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/channels">/channels</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/charset">/charset</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/clear">/clear</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/clearall">/clearall</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/cline">/cline</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/clipboard">/clipboard</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/close">/close</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/closemsg">/closemsg</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/cnick">/cnick</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/color">/color</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/colour">/colour</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/comclose">/comclose</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/comlist">/comlist</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/comopen">/comopen</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/comreg">/comreg</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/config">/config</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/continue">/continue</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/copy">/copy</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/creq">/creq</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/ctcp">/ctcp</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/ctcpreply">/ctcpreply</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/ctcps">/ctcps</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/cycleall">/cycleall</a></b></li></ul><ul class="conthead"><p><b>D</b></p></ul><ul class="cont"><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/dcc">/dcc</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/dde">/dde</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/ddeserver">/ddeserver</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/debug">/debug</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/dec">/dec</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/dehalfop">/dehalfop</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/deop">/deop</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/describe">/describe</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/desop">/desop</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/devoice">/devoice</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/dialog">/dialog</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/did">/did</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/didtok">/didtok</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/disable">/disable</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/disconnect">/disconnect</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/dlevel">/dlevel</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/dline">/dline</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/dll">/dll</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/dns">/dns</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/dock">/dock</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/dockpanels">/dockpanels</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/download">/download</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/drawcopy">/drawcopy</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/drawdot">/drawdot</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/drawfill">/drawfill</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/drawline">/drawline</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/drawpic">/drawpic</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/drawrect">/drawrect</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/drawreplace">/drawreplace</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/drawrot">/drawrot</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/drawsave">/drawsave</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/drawscroll">/drawscroll</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/drawsize">/drawsize</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/drawtext">/drawtext</a></li></ul><ul class="conthead"><p><b>E</b></p></ul><ul class="cont"><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/ebeeps">/ebeeps</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/echo">/echo</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/echomonitor">/echomonitor</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/echox">/echox</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/edit">/edit</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/editbox">/editbox</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/else">/else</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/elseif">/elseif</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/emailaddr">/emailaddr</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/enable">/enable</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/encoding">/encoding</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/events">/events</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/exit">/exit</a></li></ul><ul class="conthead"><p><b>F</b></p></ul><ul class="cont"><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/fakeraw">/fakeraw</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/fclose">/fclose</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/fget">/fget</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/filter">/filter</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/findtext">/findtext</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/firewall">/firewall</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/flash">/flash</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/flist">/flist</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/flushini">/flushini</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/font">/font</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/fopen">/fopen</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/fseek">/fseek</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/fsend">/fsend</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/fullname">/fullname</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/fullscreen">/fullscreen</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/fupdate">/fupdate</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/fwrite">/fwrite</a></li></ul><ul class="conthead"><p><b>G</b></p></ul><ul class="cont"><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/gcmem">/gcmem</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/globalkeys">/globalkeys</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/google">/google</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/goto">/goto</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/groups">/groups</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/guser">/guser</a></li></ul><ul class="conthead"><p><b>H</b></p></ul><ul class="cont"><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/hadd">/hadd</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/halfop">/halfop</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/halt">/halt</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/haltdef">/haltdef</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/hdec">/hdec</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/hdel">/hdel</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/help">/help</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/hfree">/hfree</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/highlight">/highlight</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/hinc">/hinc</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/hload">/hload</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/hmake">/hmake</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/hop">/hop</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/hotlink">/hotlink</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/hrename">/hrename</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/hsave">/hsave</a></li></ul><ul class="conthead"><p><b>I</b></p></ul><ul class="cont"><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/ial">/ial</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/ialfill">/ialfill</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/ialmark">/ialmark</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/icon">/icon</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/identd">/identd</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/if">/if</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/ignore">/ignore</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/iline">/iline</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/inc">/inc</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/inick">/inick</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/inlineimage">/inlineimage</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/invite">/invite</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/iuser">/iuser</a></li></ul><ul class="conthead"><p><b>J</b></p></ul><ul class="cont"><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/join">/join</a></li></ul><ul class="conthead"><p><b>K</b></p></ul><ul class="cont"><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/kblayout">/kblayout</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/kick">/kick</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/kill">/kill</a></li></ul><ul class="conthead"><p><b>L</b></p></ul><ul class="cont"><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/lag">/lag</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/leave">/leave</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/linemarker">/linemarker</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/linesep">/linesep</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/list">/list</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/load">/load</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/loadbuf">/loadbuf</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/lock">/lock</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/log">/log</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/logs">/logs</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/logview">/logview</a></li></ul><ul class="conthead"><p><b>M</b></p></ul><ul class="cont"><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/markall">/markall</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/mdi">/mdi</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/me">/me</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/menubar">/menubar</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/mkdir">/mkdir</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/mnick">/mnick</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/mode">/mode</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/mouse">/mouse</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/msg">/msg</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/msgbox">/msgbox</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/mtable">/mtable</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/mute">/mute</a></b></li></ul><ul class="conthead"><p><b>N</b></p></ul><ul class="cont"><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/nextunread">/nextunread</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/nick">/nick</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/nickcolumn">/nickcolumn</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/nicklist">/nicklist</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/nmsg">/nmsg</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/noop">/noop</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/notice">/notice</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/notify">/notify</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/np">/np</a></b></li></ul><ul class="conthead"><p><b>O</b></p></ul><ul class="cont"><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/oline">/oline</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/omsg">/omsg</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/onotice">/onotice</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/op">/op</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/options">/options</a></b></li></ul><ul class="conthead"><p><b>P</b></p></ul><ul class="cont"><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/parseline">/parseline</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/part">/part</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/partall">/partall</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/paths">/paths</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/pause">/pause</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/perform">/perform</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/pgoogle">/pgoogle</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/play">/play</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/playctrl">/playctrl</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/plugins">/plugins</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/priv">/priv</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/protect">/protect</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/proxy">/proxy</a></li></ul><ul class="conthead"><p><b>Q</b></p></ul><ul class="cont"><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/query">/query</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/queryrn">/queryrn</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/quickconnect">/quickconnect</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/quicksave">/quicksave</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/quit">/quit</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/quote">/quote</a></li></ul><ul class="conthead"><p><b>R</b></p></ul><ul class="cont"><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/raw">/raw</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/rawlog">/rawlog</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/rawx">/rawx</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/realname">/realname</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/reconnect">/reconnect</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/refreshsong">/refreshsong</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/rejoin">/rejoin</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/reload">/reload</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/remini">/remini</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/remote">/remote</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/remove">/remove</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/rename">/rename</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/renwin">/renwin</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/reseterror">/reseterror</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/resetidle">/resetidle</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/resolve">/resolve</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/restart">/restart</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/return">/return</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/returnex">/returnex</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/rlevel">/rlevel</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/rline">/rline</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/rmdir">/rmdir</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/run">/run</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/ruser">/ruser</a></li></ul><ul class="conthead"><p><b>S</b></p></ul><ul class="cont"><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/savebuf">/savebuf</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/saveini">/saveini</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/say">/say</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/scid">/scid</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/scon">/scon</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/scripts">/scripts</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/scrolltext">/scrolltext</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/search">/search</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/sendkeys">/sendkeys</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/server">/server</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/serverlist">/serverlist</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/set">/set</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/setconfig">/setconfig</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/setlayer">/setlayer</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/setoption">/setoption</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/showadiirc">/showadiirc</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/showmenu">/showmenu</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/showmirc">/showmirc</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/signal">/signal</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/slap">/slap</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/sleep">/sleep</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/sline">/sline</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/sockaccept">/sockaccept</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/sockclose">/sockclose</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/socklist">/socklist</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/socklisten">/socklisten</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/sockmark">/sockmark</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/sockopen">/sockopen</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/sockpause">/sockpause</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/sockread">/sockread</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/sockrename">/sockrename</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/sockudp">/sockudp</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/sockwrite">/sockwrite</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/sop">/sop</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/splay">/splay</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/sreq">/sreq</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/statusbar">/statusbar</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/switchbar">/switchbar</a></li></ul><ul class="conthead"><p><b>T</b></p></ul><ul class="cont"><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/tab">/tab</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/themes">/themes</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/time">/time</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/timer">/timer</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/timestamp">/timestamp</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/tip">/tip</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/tips">/tips</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/titlebar">/titlebar</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/tokenize">/tokenize</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/toolbar">/toolbar</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/topic">/topic</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/topicbox">/topicbox</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/treebar">/treebar</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/txt2bin">/txt2bin</a></b></li></ul><ul class="conthead"><p><b>U</b></p></ul><ul class="cont"><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/ulist">/ulist</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/unban">/unban</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/unignore">/unignore</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/unload">/unload</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/unnotify">/unnotify</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/unset">/unset</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/unsetall">/unsetall</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/update">/update</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/updatenl">/updatenl</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/url">/url</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/usernick">/usernick</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/uwho">/uwho</a></li></ul><ul class="conthead"><p><b>V</b></p></ul><ul class="cont"><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/var">/var</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/vars">/vars</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/viewlog">/viewlog</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/vmsg">/vmsg</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/vnotice">/vnotice</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/voice">/voice</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/vol">/vol</a></li></ul><ul class="conthead"><p><b>W</b></p></ul><ul class="cont"><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/wdown">/wdown</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/while">/while</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/window">/window</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/wjump">/wjump</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/wnext">/wnext</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/wpause">/wpause</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/wplay">/wplay</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/wprev">/wprev</a></b></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/write">/write</a></li><li><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/writeini">/writeini</a></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/wsearch">/wsearch</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/wseekf">/wseekf</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/wseekr">/wseekr</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/wselect">/wselect</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/wstop">/wstop</a></b></li><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/wup">/wup</a></b></li></ul><ul class="conthead"><p><b>Z</b></p></ul><ul class="cont"><li><b><a class="wiki-page" href="https://dev.adiirc.com/projects/adiirc/wiki/zip">/zip</a></b></li></ul></div> |
33 | 1 | Per Amundsen | }} |
34 | 210 | Per Amundsen | |
35 | 1 | Per Amundsen | |
36 | 150 | Per Amundsen | h2. System information Commands |
37 | 16 | Per Amundsen | |
38 | 1 | Per Amundsen | Output from these are set in [[Options_Dialog|Options]] -> [[Sysinfo Options|Sysinfo]] and are merely convenient aliases. |
39 | 31 | Per Amundsen | |
40 | 1 | Per Amundsen | /sysinfo |
41 | /gfxinfo |
||
42 | /cpuinfo |
||
43 | /meminfo |
||
44 | /diskinfo |
||
45 | /audioinfo |
||
46 | 150 | Per Amundsen | /uptime |
47 | 1 | Per Amundsen | /bw |
48 | 138 | Per Amundsen | |
49 | 1 | Per Amundsen | h2. Missing Commands |
50 | |||
51 | 207 | Per Amundsen | /bigfloat |
52 | 1 | Per Amundsen | /dccserver |
53 | 197 | Per Amundsen | /donotdisturb |
54 | 1 | Per Amundsen | /dqwindow |
55 | 185 | Per Amundsen | /finger |
56 | 1 | Per Amundsen | /flood |
57 | /flush |
||
58 | /fserve |
||
59 | /ghide |
||
60 | /gload |
||
61 | 185 | Per Amundsen | /gmove |
62 | 1 | Per Amundsen | /gopts |
63 | /gplay |
||
64 | /gpoint |
||
65 | /gqreq |
||
66 | /gshow |
||
67 | /gsize |
||
68 | 119 | Per Amundsen | /gstop |
69 | 1 | Per Amundsen | /gtalk |
70 | /gunload |
||
71 | 30 | Per Amundsen | /ialclear |
72 | 1 | Per Amundsen | /links |
73 | /localinfo |
||
74 | /pdcc |
||
75 | /pop |
||
76 | /pvoice |
||
77 | /qme |
||
78 | 185 | Per Amundsen | /qmsg |
79 | 1 | Per Amundsen | /registration |
80 | /save |
||
81 | /sound |
||
82 | /speak |
||
83 | /strip |
||
84 | /tnick |
||
85 | /tray |
||
86 | /vcadd |
||
87 | /vcmd |
||
88 | /vcrem |
||
89 | 185 | Per Amundsen | /vmsg |
90 | /vnotice |
||
91 | 1 | Per Amundsen | /winhelp |
92 | 185 | Per Amundsen | /wallchops |
93 | /wallvoices |
||
94 | 1 | Per Amundsen | |
95 | 150 | Per Amundsen | h2. Command prefixes |
96 | |||
97 | /! prefix will execute the internal command, even if there is a alias with the same name. |
||
98 | |||
99 | Example: |
||
100 | |||
101 | <pre> |
||
102 | ; Override the /me command, |
||
103 | alias me { |
||
104 | ; use the /! prefix to call the internal command. |
||
105 | /!me $1- |
||
106 | } |
||
107 | </pre> |
||
108 | |||
109 | /. prefix can be used to silence the output from many command. |
||
110 | |||
111 | Example: |
||
112 | |||
113 | <pre> |
||
114 | 155 | Per Amundsen | /.msg #channel This message will be hidden from your client, but still sent to the server. |
115 | 150 | Per Amundsen | </pre> |
116 | |||
117 | Both prefix's can be used at the same time. |
||
118 | |||
119 | Example: |
||
120 | |||
121 | <pre> |
||
122 | 155 | Per Amundsen | /!.msg #channel This message will be hidden from your client, but still sent to the server. |
123 | 150 | Per Amundsen | </pre> |
124 | |||
125 | 187 | Per Amundsen | /!& prefix allows delaying evaluation of the last parameter if the parameter is a %variable, this allows using consecutive spaces in commands such as [[/me]] and [[/msg]]. (AdiIRC only) |
126 | 186 | Per Amundsen | |
127 | Example: |
||
128 | |||
129 | <pre> |
||
130 | ; Put a double spaced text inside the variable '%s'. |
||
131 | //var %s test $chr(32) $chr(32) test |
||
132 | |||
133 | ; Call the /msg command using the /!& prefix to delay the evaluation of '%s'. |
||
134 | /!&msg # %s |
||
135 | 201 | Paul Janson | |
136 | ; limited support for text preceding the %var as the final token, preceding text MUST NOT contain the '%' char |
||
137 | //var %a a $chr(32) b | !&echo -a %a | !&echo -a test1 %a | !&echo -a %test2 %a |
||
138 | 186 | Per Amundsen | </pre> |
139 | |||
140 | 150 | Per Amundsen | h2. Evaluate identifiers from Editbox |
141 | 105 | Per Amundsen | |
142 | 156 | Per Amundsen | Typing a command in the Editbox with double slashes// will evaluate [[Scripting Identifiers|$identifiers]] in the line before running it. |
143 | 105 | Per Amundsen | E.g //echo -ag My nick is $me |
144 | |||
145 | 156 | Per Amundsen | You can also [[tabcomplete]] [[Scripting Identifiers|$identifiers]] manually using $me<tab>. |
146 | 107 | Per Amundsen | |
147 | 151 | Per Amundsen | h2. Creating a new command |
148 | 107 | Per Amundsen | |
149 | 112 | Per Amundsen | You can create a new command by opening the menu Tools -> Edit Aliases. |
150 | 107 | Per Amundsen | |
151 | 108 | Per Amundsen | The format for the command is <command> <script to execute>. |
152 | 107 | Per Amundsen | |
153 | *Example* |
||
154 | |||
155 | <pre> |
||
156 | 108 | Per Amundsen | ; Creates a new command '/p' which will evaluate and then execute the script '/part $chan'. |
157 | 1 | Per Amundsen | /p /part $chan |
158 | 108 | Per Amundsen | </pre> |
159 | |||
160 | 110 | Per Amundsen | You can also add a command from the script editor, the syntax there is alias <command> <script to execute> |
161 | 108 | Per Amundsen | |
162 | *Example* |
||
163 | |||
164 | <pre> |
||
165 | ; Creates a new command '/p' which will evaluate and then execute the script '/part $chan'. |
||
166 | ; Same as previous example. |
||
167 | alias p /part $chan |
||
168 | </pre> |
||
169 | |||
170 | 111 | Per Amundsen | If you want to use scripts with multiple lines, you can enclose them with {} brackets in both Edit Aliases and Script Editor. |
171 | 108 | Per Amundsen | |
172 | *Example* |
||
173 | <pre> |
||
174 | ; Edit Aliases |
||
175 | 109 | Per Amundsen | /p { |
176 | 108 | Per Amundsen | /echo -ag I am parting $chan |
177 | /part $chan |
||
178 | } |
||
179 | |||
180 | ; Script editor |
||
181 | alias p { |
||
182 | /echo -ag I am parting $chan |
||
183 | /part $chan |
||
184 | } |
||
185 | </pre> |
||
186 | |||
187 | Almost all built-in commands can be overridden to execute your own script. |
||
188 | |||
189 | *Example* |
||
190 | |||
191 | <pre> |
||
192 | ; Create your own /part command |
||
193 | alias part { |
||
194 | /echo -ag I am parting $chan |
||
195 | raw PART $chan |
||
196 | } |
||
197 | |||
198 | 114 | Per Amundsen | ; Create your own /part command, but execute the built-in /part command after executing your own script. |
199 | 108 | Per Amundsen | alias part { |
200 | /echo -ag I am parting $chan |
||
201 | |||
202 | ; Execute the built-in part command |
||
203 | !part $chan |
||
204 | } |
||
205 | 107 | Per Amundsen | </pre> |
206 | 113 | Per Amundsen | |
207 | A command can also be called as a $identifier. |
||
208 | |||
209 | *Example* |
||
210 | |||
211 | <pre> |
||
212 | ; Create a command. |
||
213 | alias mycommand { |
||
214 | 115 | Per Amundsen | echo -ag I was called as a $iif($isid,identifier,command) |
215 | 113 | Per Amundsen | } |
216 | |||
217 | ; Call the command as identifier. |
||
218 | //noop $mycommand |
||
219 | |||
220 | 116 | Per Amundsen | ; Call the command as a command. |
221 | 113 | Per Amundsen | /mycommand |
222 | </pre> |