option to make the editbox common to all channels so if u change the channel window then the stuff the the editbox will (if u choose so) stay.
on *:active:*: {
if ( $editbox($lactive) ) {
editbox -a $ifmatch
}
}
to alt+r
is this what you want?
Doesn't work with multiserver, doesn't get the stuff from the editbox if you change to other network, maybe there's a way to do it...
Still had bugs...think this fixes:
on *:active:*: {
scid $lactivecid
editbox -a $editbox($lactive)
}
And perhaps change the 2nd * to a #, so that it only triggers for channels. This way you would also avoid error messages, in case the $lactive window did not have an editbox. Note that this would only work if you directly switch from one channel window to another (and not, fex, from #chan1 to a custom window and then to #chan2). Some kind of a scripted $lactivechan is necessary to get around this.