mIRC Homepage
Posted By: Nem3sis editbox - 14/04/03 10:33 PM
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.
Posted By: theRat Re: editbox - 15/04/03 11:12 AM
Code:
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...
Posted By: Collective Re: editbox - 15/04/03 11:26 AM
Try:
Code:
on *:active:*: {
  scid $lactivecid
  if ( $editbox($lactive) ) {
    editbox -a $ifmatch
  }
}

Posted By: theRat Re: editbox - 15/04/03 11:34 AM
yes... indeed crazy
Posted By: Collective Re: editbox - 15/04/03 11:37 AM
Still had bugs...think this fixes:
Code:
on *:active:*: {
  scid $lactivecid
  editbox -a $editbox($lactive)
}
Posted By: qwerty Re: editbox - 15/04/03 04:04 PM
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.
© mIRC Discussion Forums