$mode » History » Version 2
Per Amundsen, 02/19/2017 08:32 AM
1 | 1 | Per Amundsen | _Added in 1.8.10_ |
---|---|---|---|
2 | |||
3 | *$mode* |
||
4 | |||
5 | Returns the mpeg channel mode of the currently playing song. |
||
6 | |||
7 | _Only works if Media Player is set to iTunes/MediaMonkey/Winamp and proper plugins are installed._ |
||
8 | |||
9 | 2 | Per Amundsen | --- |
10 | |||
11 | _Added in 2.8_ |
||
12 | |||
13 | 1 | Per Amundsen | *$mode(N)* |
14 | |||
15 | 2 | Per Amundsen | Returns the Nth nick/mask affected by a channel mode change. |
16 | |||
17 | _See also [[on RAWMODE]], [[on MODE]], [[on OWNER]], [[on DEOWNER]], [[on ADMIN]], [[on DEADMIN]], [[on OP]], [[on DEOP]], [[on HELP]], [[on DEHELP]], [[on VOICE]], [[on DEVOICE]], [[on BAN]], [[on UNBAN]]._ |
||
18 | |||
19 | *Parameters* |
||
20 | |||
21 | N - If N = 0, number of nicks/masks, otherwise the Nth nick/mask. |
||
22 | |||
23 | *Properties* |
||
24 | |||
25 | .owner - List number of affected owner nicks or the Nth owner nick. (AdiIRC only) |
||
26 | .deowner - List number of affected deowner nicks or the Nth deowner nick. (AdiIRC only) |
||
27 | .admin - List number of affected admin nicks or the Nth admin nick. (AdiIRC only) |
||
28 | .deadmin - List number of affected deadmin nicks or the Nth deadmin nick. (AdiIRC only) |
||
29 | .op - List number of affected op nicks or the Nth op nick. |
||
30 | .deop - List number of affected deop nicks or the Nth deop nick. |
||
31 | .help - List number of affected help nicks or the Nth help nick. |
||
32 | .dehelp - List number of affected dehelp nicks or the Nth dehelp nick. |
||
33 | .voice - List number of affected voice nicks or the Nth voice nick. |
||
34 | .devoice - List number of affected devoice nicks or the Nth devoice nick. |
||
35 | .ban - List number of affected ban masks or the Nth ban mask. |
||
36 | .unban - List number of affected unban masks or the Nth ban masn. |
||
37 | |||
38 | *Example* |
||
39 | |||
40 | <pre> |
||
41 | ; Print number of affected nicks/masks during a RAWMODE event. |
||
42 | on *:RAWMODE:#:echo -ag $mode(0) |
||
43 | |||
44 | ; Print the first affected nicks/masks during a RAWMODE event. |
||
45 | on *:RAWMODE:#:echo -ag $mode(1) |
||
46 | |||
47 | ; Print number of affected op nicks during a RAWMODE event. |
||
48 | on *:RAWMODE:#:echo -ag $mode(0).op |
||
49 | |||
50 | ; Print the first affected nicks op nick during a RAWMODE event. |
||
51 | on *:RAWMODE:#:echo -ag $mode(1).op |
||
52 | </pre> |