rendered paste bodyAlias iTunes {
if ($com(it) == $null) {
.comopen it iTunes.Application
}
if ($com(ct)) {
.comclose ct
}
.echo -q $com(it,CurrentTrack,3,dispatch* ct)
.echo -q $com(ct,Artist,3)
set %artist $com(ct).result
.echo -q $com(ct,Album,3)
set %album $com(ct).result
.echo -q $com(ct,Year,3)
set %year $com(ct).result
.echo -q $com(ct,Name,3)
set %song $com(ct).result
.echo -q $com(ct,Genre,3)
set %Genre $com(ct).result
;edit below line to change the display.
;You can use the identifiers: %song | %artist | %album | %genre |
%year
/msg $chan 15[vTunes] 1Song:3 %song By:3 %artist 3Album:3 %album Year:3 %year}