i want to made an input for winamp adversing in channel, eg if winamp is not running for tell winamp is not running

i have this code here

if ($dll(system\dll\swamp.dll,WinAmpGet,TRACKFILENAME) != $!null) {
else {
!.echo -q $input(Nothing is playing,o)

show_song and submenu show_channels are command for spam winamp song, how can fix that code for input if winamp is not running, i need for channel menu.
thanks hope anyone help me with this, thanks again. and sorry for my poor english