Play » History » Version 1
Per Amundsen, 07/08/2018 06:30 PM
1 | 1 | Per Amundsen | _Added in 3.2_ |
---|---|---|---|
2 | |||
3 | */play [-aescpbnx q# m# f# rl# t#] [alias] [channel/nick/stop] <filename> [delay]* |
||
4 | |||
5 | Allows "playing" a file to a channel or private window, line by line. |
||
6 | |||
7 | _Empty lines are treated as a delay._ |
||
8 | |||
9 | *Switches* |
||
10 | |||
11 | -x - Treat the first line in the file as a regular text instead of line count if it is a number. |
||
12 | -a - Uses the [alias] parameter as the alias to be called instead of [[/msg]] or [[/notice]]. |
||
13 | -e - Echoes the line to channel/nick window as it would send them to the server (if the window does not exist, a line of the form [[/msg]] <window> <line> is displayed in the status window). |
||
14 | -s - Can be used offline, will interpret lines as actual command instead of plaintext and execute them in the status window. |
||
15 | -c - Forces AdiIRC to interpret lines as actual command instead of plaintext and execute them in the specified window. |
||
16 | -n - Uses []/notice]] instead of [[/msg]]. |
||
17 | -p - Indicates it is a priority request, the current play request is paused and will resume once this one is finished. |
||
18 | -b - Uses the clipboard instead of a file, the clipboard is temporarily saved to a file with a name of the form playqN.txt, which is deleted once playing is completed. |
||
19 | -r - Forces a single line to be chosen randomly and played. |
||
20 | -fN - Plays the whole file starting from the specified line. |
||
21 | -tTOPIC - Forces AdiIRC to look up the specified topic/section (INI structure) in the file and play all lines under that topic/section. |
||
22 | -lN - Forces the specified line number to be played. |
||
23 | -mN - TODO |
||
24 | -qN - TODO |
||
25 | |||
26 | *Parameters* |
||
27 | |||
28 | [alias] - If you have specified -a, the alias that will be called instead of [[/msg]] or [[/notice]]. |
||
29 | [channel/nick/stop] - The window you want to play to, if required, or "stop" if you want to stop and clear the queue. |
||
30 | [filename] - The filename you want to play. |
||
31 | [delay] - You can specify a delay, in millisecond, between each line sent. |
||
32 | |||
33 | *Example* |
||
34 | |||
35 | <pre> |
||
36 | ; Play the file 'file,txt' to the channel #chan. |
||
37 | /play #chan file.txt |
||
38 | |||
39 | ; Play a random line from the file 'file,txt' to the channel #chan. |
||
40 | /play -r #chan file.txt |
||
41 | |||
42 | ; Stops and clears all files in the queue. |
||
43 | /play stop |
||
44 | </pre> |