Originally Posted By: pball
Also I can't seem to get dcc chat window states so I can't really add this for them.

You can use window IDs, for example:
$window(@ $+ $send(1).wid).state
window -ra $+(@,$get(someone,2).wid)