Project

General

Profile

Actions

$mode » History » Revision 2

« Previous | Revision 2/6 (diff) | Next »
Per Amundsen, 02/19/2017 08:32 AM


Added in 1.8.10

$mode

Returns the mpeg channel mode of the currently playing song.

Only works if Media Player is set to iTunes/MediaMonkey/Winamp and proper plugins are installed.


Added in 2.8

$mode(N)

Returns the Nth nick/mask affected by a channel mode change.

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.

Parameters

N - If N = 0, number of nicks/masks, otherwise the Nth nick/mask.

Properties

.owner - List number of affected owner nicks or the Nth owner nick. (AdiIRC only)
.deowner - List number of affected deowner nicks or the Nth deowner nick. (AdiIRC only)
.admin - List number of affected admin nicks or the Nth admin nick. (AdiIRC only)
.deadmin - List number of affected deadmin nicks or the Nth deadmin nick. (AdiIRC only)
.op - List number of affected op nicks or the Nth op nick.
.deop - List number of affected deop nicks or the Nth deop nick.
.help - List number of affected help nicks or the Nth help nick.
.dehelp - List number of affected dehelp nicks or the Nth dehelp nick.
.voice - List number of affected voice nicks or the Nth voice nick.
.devoice - List number of affected devoice nicks or the Nth devoice nick.
.ban - List number of affected ban masks or the Nth ban mask.
.unban - List number of affected unban masks or the Nth ban masn.

Example

; Print number of affected nicks/masks during a RAWMODE event.
on *:RAWMODE:#:echo -ag $mode(0)

; Print the first affected nicks/masks during a RAWMODE event.
on *:RAWMODE:#:echo -ag $mode(1)

; Print number of affected op nicks during a RAWMODE event.
on *:RAWMODE:#:echo -ag $mode(0).op

; Print the first affected nicks op nick during a RAWMODE event.
on *:RAWMODE:#:echo -ag $mode(1).op

Updated by Per Amundsen almost 8 years ago · 2 revisions

Also available in: PDF HTML TXT