Why do you need $sline? Just use the line number that you want.

/dline -l @window 5


Invision Support
#Invision on irc.irchighway.net