Thanks. The $fline, /window etc. work fine with just the channel name (and scon if necessary) but it seems the /rline (/aline, etc.) commands really do require custom windows. I always get an invalid parameters error on any window except a true custom window.

So I got everything working except for the actual replacing part smirk any way around this?

Code:
var %loc = $fline($channel,$nick,$fline($channel,$nick,0,2),2)
rline $channel %loc $+(14,$strip($line($channel,%loc,0),c))