Actions
Added in 3.1
$playerhandle
Returns the window handle to the current running media player.
Example
; Override the default /np alias to customize the error meesages.
alias np {
if (!$playerhandle) {
echo $color(info) -agt Media Player is not running.
return
}
if (!$song) {
echo $color(info) -agt Media Player is not playing.
return
}
; All good, forward to the internal /np command.
!np $1-
}
Updated by Per Amundsen over 7 years ago · 3 revisions