Scripting Commands » History » Version 162
Mr. BS, 03/01/2017 01:18 PM
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 | min-width: 1em; |
||
17 | margin-right: 0.5em; |
||
18 | } |
||
19 | }} |
||
20 | |||
21 | 73 | Per Amundsen | {{>toc}} |
22 | 1 | Per Amundsen | |
23 | h1. Scripting Commands |
||
24 | 2 | Per Amundsen | |
25 | Parameters in [x] means they are optional. |
||
26 | Parameters in <x> means they are required. |
||
27 | Parameters with a x|y means either x or y can be used. |
||
28 | 3 | Per Amundsen | |
29 | Click on a command to read more about it. |
||
30 | 154 | Per Amundsen | |
31 | 27 | Per Amundsen | _Commands in bold is AdiIRC only._ |
32 | 1 | Per Amundsen | |
33 | 162 | Mr. BS | table(tcount). |
34 | |[[/abook]] |
||
35 | 123 | Per Amundsen | *[[/aclear]]* |
36 | 1 | Per Amundsen | [[/action]] |
37 | 27 | Per Amundsen | *[[/advertise]]* |
38 | 1 | Per Amundsen | [[/ajinvite]] |
39 | [[/alias]] |
||
40 | [[/aline]] |
||
41 | [[/amark]] |
||
42 | [[/ame]] |
||
43 | [[/amsg]] |
||
44 | 84 | Per Amundsen | *[[/allnick]]* |
45 | 1 | Per Amundsen | [[/anick]] |
46 | 74 | Per Amundsen | [[/auser]] |
47 | 136 | Per Amundsen | *[[/autoconnect]]* |
48 | 53 | Per Amundsen | [[/autojoin]] |
49 | 27 | Per Amundsen | *[[/aquit]]* |
50 | 1 | Per Amundsen | [[/away]] |
51 | 27 | Per Amundsen | *[[/back]]* |
52 | 1 | Per Amundsen | [[/background]] |
53 | [[/ban]] |
||
54 | 27 | Per Amundsen | *[[/banlist]]* |
55 | 1 | Per Amundsen | [[/bcopy]] |
56 | [[/beep]] |
||
57 | 27 | Per Amundsen | *[[/betaup]]* |
58 | *[[/bin2txt]]* |
||
59 | 1 | Per Amundsen | [[/bindip]] |
60 | [[/bread]] |
||
61 | [[/break]] |
||
62 | [[/breplace]] |
||
63 | [[/bset]] |
||
64 | [[/btrunc]] |
||
65 | [[/bunset]] |
||
66 | 27 | Per Amundsen | *[[/bw]]* |
67 | 1 | Per Amundsen | [[/bwrite]] |
68 | [[/channel]] |
||
69 | 147 | Per Amundsen | *[[/channels]]* |
70 | 27 | Per Amundsen | *[[/charset]]* |
71 | 1 | Per Amundsen | [[/clear]] |
72 | [[/clearall]] |
||
73 | [[/cline]] |
||
74 | [[/clipboard]] |
||
75 | [[/close]] |
||
76 | 141 | Per Amundsen | [[/cnick]] |
77 | 1 | Per Amundsen | [[/color]] |
78 | [[/colour]] |
||
79 | 145 | Per Amundsen | | [[/comclose]] |
80 | [[/comlist]] |
||
81 | 123 | Per Amundsen | [[/comopen]] |
82 | 84 | Per Amundsen | [[/comreg]] |
83 | 74 | Per Amundsen | *[[/config]]* |
84 | 32 | Per Amundsen | [[/continue]] |
85 | 66 | Per Amundsen | [[/copy]] |
86 | 1 | Per Amundsen | [[/ctcp]] |
87 | [[/ctcps]] |
||
88 | 57 | Per Amundsen | [[/ctcpreply]] |
89 | 158 | Per Amundsen | *[[/cycleall]]* |
90 | 54 | Per Amundsen | [[/dcc]] |
91 | 52 | Per Amundsen | [[/dde]] |
92 | 41 | Per Amundsen | [[/ddeserver]] |
93 | [[/debug]] |
||
94 | 32 | Per Amundsen | [[/dec]] |
95 | 27 | Per Amundsen | *[[/dehalfop]]* |
96 | *[[/deop]]* |
||
97 | 1 | Per Amundsen | [[/describe]] |
98 | 27 | Per Amundsen | *[[/desop]]* |
99 | *[[/devoice]]* |
||
100 | 1 | Per Amundsen | [[/dialog]] |
101 | [[/did]] |
||
102 | [[/didtok]] |
||
103 | [[/disable]] |
||
104 | [[/disconnect]] |
||
105 | 94 | Per Amundsen | [[/dlevel]] |
106 | 1 | Per Amundsen | [[/dline]] |
107 | [[/dll]] |
||
108 | [[/dns]] |
||
109 | 27 | Per Amundsen | *[[/dock]]* |
110 | *[[/dockpanels]]* |
||
111 | 128 | Per Amundsen | *[[/download]]* |
112 | 1 | Per Amundsen | [[/drawcopy]] |
113 | [[/drawdot]] |
||
114 | [[/drawfill]] |
||
115 | [[/drawline]] |
||
116 | [[/drawpic]] |
||
117 | [[/drawrect]] |
||
118 | [[/drawreplace]] |
||
119 | [[/drawrot]] |
||
120 | [[/drawsave]] |
||
121 | [[/drawscroll]] |
||
122 | 141 | Per Amundsen | [[/drawtext]] |
123 | 136 | Per Amundsen | [[/ebeeps]] |
124 | 145 | Per Amundsen | | [[/echo]] |
125 | *[[/echomonitor]]* |
||
126 | 123 | Per Amundsen | *[[/echox]]* |
127 | 97 | Per Amundsen | *[[/edit]]* |
128 | 94 | Per Amundsen | [[/editbox]] |
129 | 84 | Per Amundsen | [[/else]] |
130 | 74 | Per Amundsen | [[/elseif]] |
131 | 88 | Per Amundsen | [[/emailaddr]] |
132 | 66 | Per Amundsen | [[/enable]] |
133 | 1 | Per Amundsen | *[[/encoding]]* |
134 | [[/events]] |
||
135 | [[/exit]] |
||
136 | 60 | Per Amundsen | *[[/fakeraw]]* |
137 | 57 | Per Amundsen | [[/fclose]] |
138 | 144 | Per Amundsen | *[[/fget]]* |
139 | 54 | Per Amundsen | [[/filter]] |
140 | 52 | Per Amundsen | [[/findtext]] |
141 | 160 | Per Amundsen | [[/firewall]] |
142 | 50 | Per Amundsen | [[/flash]] |
143 | 1 | Per Amundsen | [[/flist]] |
144 | [[/flushini]] |
||
145 | 67 | Per Amundsen | [[/font]] |
146 | 124 | Per Amundsen | [[/fopen]] |
147 | 39 | Per Amundsen | [[/fseek]] |
148 | 144 | Per Amundsen | [[/fsend]] |
149 | 85 | Per Amundsen | [[/fullname]] |
150 | 45 | Per Amundsen | *[[/fullscreen]]* |
151 | 36 | Per Amundsen | [[/fwrite]] |
152 | 33 | Per Amundsen | *[[/gcmem]]* |
153 | 32 | Per Amundsen | *[[/google]]* |
154 | 23 | Per Amundsen | [[/goto]] |
155 | 143 | Per Amundsen | [[/groups]] |
156 | 77 | Per Amundsen | [[/guser]] |
157 | 1 | Per Amundsen | [[/hadd]] |
158 | 27 | Per Amundsen | *[[/halfop]]* |
159 | 1 | Per Amundsen | [[/halt]] |
160 | [[/haltdef]] |
||
161 | [[/hdec]] |
||
162 | [[/hdel]] |
||
163 | [[/help]] |
||
164 | 48 | Per Amundsen | [[/hfree]] |
165 | 1 | Per Amundsen | *[[/highlight]]* |
166 | [[/hinc]] |
||
167 | 144 | Per Amundsen | [[/hload]] |
168 | 1 | Per Amundsen | [[/hmake]] |
169 | 160 | Per Amundsen | | [[/hop]] |
170 | [[/hotlink]] |
||
171 | 157 | Per Amundsen | [[/hsave]] |
172 | 145 | Per Amundsen | [[/ialmark]] |
173 | 1 | Per Amundsen | [[/identd]] |
174 | 128 | Per Amundsen | *[[/icon]]* |
175 | 140 | Per Amundsen | [[/if]] |
176 | 124 | Per Amundsen | [[/ignore]] |
177 | 123 | Per Amundsen | [[/iline]] |
178 | 122 | Per Amundsen | [[/inc]] |
179 | 141 | Per Amundsen | *[[/inick]]* |
180 | 96 | Per Amundsen | [[/invite]] |
181 | 94 | Per Amundsen | [[/iuser]] |
182 | 89 | Per Amundsen | [[/join]] |
183 | 88 | Per Amundsen | [[/kick]] |
184 | 85 | Per Amundsen | [[/kill]] |
185 | 84 | Per Amundsen | *[[/lag]]* |
186 | 126 | Per Amundsen | [[/leave]] |
187 | 149 | Per Amundsen | *[[/linemarker]]* |
188 | 78 | Per Amundsen | [[/linesep]] |
189 | 77 | Per Amundsen | [[/list]] |
190 | 74 | Per Amundsen | [[/load]] |
191 | 67 | Per Amundsen | [[/loadbuf]] |
192 | 66 | Per Amundsen | *[[/lock]]* |
193 | 130 | Per Amundsen | [[/log]] |
194 | 1 | Per Amundsen | *[[/logs]]* |
195 | [[/logview]] |
||
196 | [[/markall]] |
||
197 | 69 | Per Amundsen | [[/mdi]] |
198 | 57 | Per Amundsen | [[/me]] |
199 | 1 | Per Amundsen | [[/menubar]] |
200 | [[/mkdir]] |
||
201 | 85 | Per Amundsen | [[/mnick]] |
202 | 52 | Per Amundsen | [[/mode]] |
203 | 50 | Per Amundsen | [[/msg]] |
204 | 95 | Per Amundsen | *[[/msgbox]]* |
205 | 1 | Per Amundsen | *[[/mute]]* |
206 | *[[/nextunread]]* |
||
207 | [[/nick]] |
||
208 | 64 | Per Amundsen | [[/nickcolumn]] |
209 | 1 | Per Amundsen | [[/nicklist]] |
210 | 39 | Per Amundsen | *[[/nmsg]]* |
211 | 1 | Per Amundsen | [[/noop]] |
212 | [[/notice]] |
||
213 | [[/notify]] |
||
214 | 160 | Per Amundsen | | *[[/np]]* |
215 | *[[/oline]]* |
||
216 | 149 | Per Amundsen | [[/omsg]] |
217 | 145 | Per Amundsen | [[/onotice]] |
218 | 132 | Per Amundsen | [[/op]] |
219 | 130 | Per Amundsen | *[[/options]]* |
220 | 128 | Per Amundsen | [[/parseline]] |
221 | 126 | Per Amundsen | [[/part]] |
222 | 125 | Per Amundsen | [[/partall]] |
223 | 123 | Per Amundsen | *[[/paths]]* |
224 | 122 | Per Amundsen | [[/perform]] |
225 | 121 | Per Amundsen | *[[/pgoogle]]* |
226 | 118 | Per Amundsen | *[[/plugins]]* |
227 | 99 | Per Amundsen | *[[/priv]]* |
228 | 137 | Per Amundsen | [[/proxy]] |
229 | 96 | Per Amundsen | [[/query]] |
230 | 95 | Per Amundsen | [[/queryrn]] |
231 | 94 | Per Amundsen | *[[/quickconnect]]* |
232 | 89 | Per Amundsen | *[[/quicksave]]* |
233 | 88 | Per Amundsen | [[/quit]] |
234 | 1 | Per Amundsen | [[/quote]] |
235 | 85 | Per Amundsen | [[/raw]] |
236 | 84 | Per Amundsen | *[[/rawx]]* |
237 | *[[/rawlog]]* |
||
238 | 85 | Per Amundsen | *[[/realname]]* |
239 | 77 | Per Amundsen | *[[/reconnect]]* |
240 | 74 | Per Amundsen | *[[/rejoin]]* |
241 | 69 | Per Amundsen | [[/reload]] |
242 | 67 | Per Amundsen | [[/remini]] |
243 | 66 | Per Amundsen | [[/remote]] |
244 | 1 | Per Amundsen | [[/remove]] |
245 | [[/rename]] |
||
246 | [[/renwin]] |
||
247 | [[/reseterror]] |
||
248 | 82 | Per Amundsen | [[/resetidle]] |
249 | 1 | Per Amundsen | *[[/resolve]]* |
250 | 57 | Per Amundsen | *[[/restart]]* |
251 | 54 | Per Amundsen | [[/return]] |
252 | 1 | Per Amundsen | [[/returnex]] |
253 | 79 | Per Amundsen | [[/rlevel]] |
254 | 1 | Per Amundsen | [[/rline]] |
255 | [[/rmdir]] |
||
256 | [[/run]] |
||
257 | [[/ruser]] |
||
258 | 140 | Per Amundsen | [[/say]] |
259 | 160 | Per Amundsen | |^. [[/savebuf]] |
260 | [[/saveini]] |
||
261 | 149 | Per Amundsen | [[/scid]] |
262 | 145 | Per Amundsen | [[/scon]] |
263 | 132 | Per Amundsen | *[[/scripts]]* |
264 | 130 | Per Amundsen | *[[/search]]* |
265 | 128 | Per Amundsen | [[/server]] |
266 | 126 | Per Amundsen | *[[/serverlist]]* |
267 | 124 | Per Amundsen | [[/set]] |
268 | 123 | Per Amundsen | *[[/setconfig]]* |
269 | 122 | Per Amundsen | [[/setlayer]] |
270 | 123 | Per Amundsen | *[[/setoption]]* |
271 | *[[/showadiirc]]* |
||
272 | 148 | Per Amundsen | *[[/showmenu]]* |
273 | 98 | Per Amundsen | [[/showmirc]] |
274 | 96 | Per Amundsen | [[/signal]] |
275 | 95 | Per Amundsen | *[[/slap]]* |
276 | 94 | Per Amundsen | *[[/sleep]]* |
277 | 89 | Per Amundsen | [[/sline]] |
278 | 88 | Per Amundsen | [[/sockaccept]] |
279 | 1 | Per Amundsen | [[/sockclose]] |
280 | [[/socklist]] |
||
281 | 85 | Per Amundsen | [[/socklisten]] |
282 | 84 | Per Amundsen | [[/sockmark]] |
283 | 82 | Per Amundsen | [[/sockopen]] |
284 | 80 | Per Amundsen | [[/sockpause]] |
285 | 79 | Per Amundsen | [[/sockread]] |
286 | 77 | Per Amundsen | [[/sockrename]] |
287 | 1 | Per Amundsen | [[/sockudp]] |
288 | [[/sockwrite]] |
||
289 | *[[/sop]]* |
||
290 | 69 | Per Amundsen | [[/splay]] |
291 | 1 | Per Amundsen | *[[/statusbar]]* |
292 | 66 | Per Amundsen | [[/switchbar]] |
293 | 1 | Per Amundsen | *[[/tab]]* |
294 | 63 | Per Amundsen | *[[/themes]]* |
295 | 1 | Per Amundsen | [[/time]] |
296 | [[/timestamp]] |
||
297 | [[/timer]] |
||
298 | [[/tip]] |
||
299 | [[/tips]] |
||
300 | [[/titlebar]] |
||
301 | 141 | Per Amundsen | [[/tokenize]] |
302 | 140 | Per Amundsen | [[/toolbar]] |
303 | 139 | Per Amundsen | [[/topic]] |
304 | 160 | Per Amundsen | |^. *[[/topicbox]]* |
305 | [[/treebar]] |
||
306 | 149 | Per Amundsen | [[/ulist]] |
307 | 148 | Per Amundsen | *[[/usernick]]* |
308 | 145 | Per Amundsen | *[[/txt2bin]]* |
309 | 128 | Per Amundsen | *[[/unban]]* |
310 | 127 | Per Amundsen | *[[/unignore]]* |
311 | 126 | Per Amundsen | [[/unload]] |
312 | 124 | Per Amundsen | *[[/unnotify]]* |
313 | 123 | Per Amundsen | [[/unset]] |
314 | 122 | Per Amundsen | [[/unsetall]] |
315 | *[[/update]]* |
||
316 | 135 | Per Amundsen | [[/updatenl]] |
317 | 129 | Per Amundsen | [[/url]] |
318 | 118 | Per Amundsen | [[/uwho]] |
319 | 98 | Per Amundsen | [[/var]] |
320 | 96 | Per Amundsen | *[[/vars]]* |
321 | 95 | Per Amundsen | *[[/viewlog]]* |
322 | 94 | Per Amundsen | *[[/voice]]* |
323 | 91 | Per Amundsen | [[/vol]] |
324 | 90 | Per Amundsen | *[[/wdown]]* |
325 | 89 | Per Amundsen | [[/while]] |
326 | 88 | Per Amundsen | [[/window]] |
327 | 87 | Per Amundsen | *[[/wjump]]* |
328 | 1 | Per Amundsen | *[[/wnext]]* |
329 | *[[/wpause]]* |
||
330 | 85 | Per Amundsen | *[[/wplay]]* |
331 | 84 | Per Amundsen | *[[/wprev]]* |
332 | 82 | Per Amundsen | [[/write]] |
333 | 81 | Per Amundsen | [[/writeini]] |
334 | 80 | Per Amundsen | *[[/wsearch]]* |
335 | 79 | Per Amundsen | *[[/wseekf]]* |
336 | 78 | Per Amundsen | *[[/wseekr]]* |
337 | 77 | Per Amundsen | *[[/wselect]]* |
338 | 1 | Per Amundsen | *[[/wstop]]* |
339 | *[[/wup]]* |
||
340 | 162 | Mr. BS | | |
341 | |||
342 | %(acounter) % |
||
343 | 1 | Per Amundsen | |
344 | 150 | Per Amundsen | h2. System information Commands |
345 | 117 | Per Amundsen | |
346 | 142 | Per Amundsen | Output from these are set in [[Options_Dialog|Options]] -> [[Sysinfo Options|Sysinfo]] and are merely convenient aliases. |
347 | 16 | Per Amundsen | |
348 | /sysinfo |
||
349 | 1 | Per Amundsen | /gfxinfo |
350 | 31 | Per Amundsen | /cpuinfo |
351 | 1 | Per Amundsen | /meminfo |
352 | /diskinfo |
||
353 | /audioinfo |
||
354 | /uptime |
||
355 | /bw |
||
356 | |||
357 | 150 | Per Amundsen | h2. Missing Commands |
358 | 1 | Per Amundsen | |
359 | 138 | Per Amundsen | /aop |
360 | 1 | Per Amundsen | /avoice |
361 | /creq |
||
362 | /dccserver |
||
363 | /dqwindow |
||
364 | /flood |
||
365 | /flush |
||
366 | /fserve |
||
367 | /ghide |
||
368 | /gload |
||
369 | /gopts |
||
370 | /gplay |
||
371 | /gpoint |
||
372 | /gqreq |
||
373 | /gshow |
||
374 | /gsize |
||
375 | /gstop |
||
376 | /gtalk |
||
377 | 119 | Per Amundsen | /gunload |
378 | 1 | Per Amundsen | /ial |
379 | /ialclear |
||
380 | 30 | Per Amundsen | /links |
381 | 1 | Per Amundsen | /localinfo |
382 | /pdcc |
||
383 | /play |
||
384 | /playctrl |
||
385 | /pop |
||
386 | /protect |
||
387 | /pvoice |
||
388 | /qme |
||
389 | /qmsg |
||
390 | /save |
||
391 | /sound |
||
392 | /speak |
||
393 | /sreq |
||
394 | /strip |
||
395 | /tnick |
||
396 | /tray |
||
397 | /vcadd |
||
398 | /vcmd |
||
399 | /vcrem |
||
400 | /winhelp |
||
401 | |||
402 | 150 | Per Amundsen | h2. Command prefixes |
403 | |||
404 | /! prefix will execute the internal command, even if there is a alias with the same name. |
||
405 | |||
406 | Example: |
||
407 | |||
408 | <pre> |
||
409 | ; Override the /me command, |
||
410 | alias me { |
||
411 | ; use the /! prefix to call the internal command. |
||
412 | /!me $1- |
||
413 | } |
||
414 | </pre> |
||
415 | |||
416 | /. prefix can be used to silence the output from many command. |
||
417 | |||
418 | Example: |
||
419 | |||
420 | <pre> |
||
421 | 155 | Per Amundsen | /.msg #channel This message will be hidden from your client, but still sent to the server. |
422 | 150 | Per Amundsen | </pre> |
423 | |||
424 | Both prefix's can be used at the same time. |
||
425 | |||
426 | Example: |
||
427 | |||
428 | <pre> |
||
429 | 155 | Per Amundsen | /!.msg #channel This message will be hidden from your client, but still sent to the server. |
430 | 150 | Per Amundsen | </pre> |
431 | |||
432 | h2. Evaluate identifiers from Editbox |
||
433 | 105 | Per Amundsen | |
434 | 156 | Per Amundsen | Typing a command in the Editbox with double slashes// will evaluate [[Scripting Identifiers|$identifiers]] in the line before running it. |
435 | 105 | Per Amundsen | E.g //echo -ag My nick is $me |
436 | |||
437 | 156 | Per Amundsen | You can also [[tabcomplete]] [[Scripting Identifiers|$identifiers]] manually using $me<tab>. |
438 | 107 | Per Amundsen | |
439 | 151 | Per Amundsen | h2. Creating a new command |
440 | 107 | Per Amundsen | |
441 | 112 | Per Amundsen | You can create a new command by opening the menu Tools -> Edit Aliases. |
442 | 107 | Per Amundsen | |
443 | 108 | Per Amundsen | The format for the command is <command> <script to execute>. |
444 | 107 | Per Amundsen | |
445 | *Example* |
||
446 | |||
447 | <pre> |
||
448 | 108 | Per Amundsen | ; Creates a new command '/p' which will evaluate and then execute the script '/part $chan'. |
449 | 1 | Per Amundsen | /p /part $chan |
450 | 108 | Per Amundsen | </pre> |
451 | |||
452 | 110 | Per Amundsen | You can also add a command from the script editor, the syntax there is alias <command> <script to execute> |
453 | 108 | Per Amundsen | |
454 | *Example* |
||
455 | |||
456 | <pre> |
||
457 | ; Creates a new command '/p' which will evaluate and then execute the script '/part $chan'. |
||
458 | ; Same as previous example. |
||
459 | alias p /part $chan |
||
460 | </pre> |
||
461 | |||
462 | 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. |
463 | 108 | Per Amundsen | |
464 | *Example* |
||
465 | <pre> |
||
466 | ; Edit Aliases |
||
467 | 109 | Per Amundsen | /p { |
468 | 108 | Per Amundsen | /echo -ag I am parting $chan |
469 | /part $chan |
||
470 | } |
||
471 | |||
472 | ; Script editor |
||
473 | alias p { |
||
474 | /echo -ag I am parting $chan |
||
475 | /part $chan |
||
476 | } |
||
477 | </pre> |
||
478 | |||
479 | Almost all built-in commands can be overridden to execute your own script. |
||
480 | |||
481 | *Example* |
||
482 | |||
483 | <pre> |
||
484 | ; Create your own /part command |
||
485 | alias part { |
||
486 | /echo -ag I am parting $chan |
||
487 | raw PART $chan |
||
488 | } |
||
489 | |||
490 | 114 | Per Amundsen | ; Create your own /part command, but execute the built-in /part command after executing your own script. |
491 | 108 | Per Amundsen | alias part { |
492 | /echo -ag I am parting $chan |
||
493 | |||
494 | ; Execute the built-in part command |
||
495 | !part $chan |
||
496 | } |
||
497 | 107 | Per Amundsen | </pre> |
498 | 113 | Per Amundsen | |
499 | A command can also be called as a $identifier. |
||
500 | |||
501 | *Example* |
||
502 | |||
503 | <pre> |
||
504 | ; Create a command. |
||
505 | alias mycommand { |
||
506 | 115 | Per Amundsen | echo -ag I was called as a $iif($isid,identifier,command) |
507 | 113 | Per Amundsen | } |
508 | |||
509 | ; Call the command as identifier. |
||
510 | //noop $mycommand |
||
511 | |||
512 | 116 | Per Amundsen | ; Call the command as a command. |
513 | 113 | Per Amundsen | /mycommand |
514 | </pre> |