mIRC Home    About    Download    Register    News    Help

Print Thread
A
alhammer
alhammer
A
Code:
on *:INPUT:*: {
  if ($away == on) {
    inc %lines 1
    if (%lines => 3) { /back | unset %lines }
  }
} 
How can I alter this to exclude whispers, notices, and actions? (or any 1)

Thanks to sparta for the above script!

R
ricky_knuckles
ricky_knuckles
R
if (($ctrlenter) || ((/* !iswm $1-) && ($iif($readini(mirc.ini,text,commandchar),$v1,/) $+ * !iswm $1-))) {

?

T
tidy_trax
tidy_trax
T
Code:
on *:input:#:{
  if ($away) && (!$istok(/ $readini($mircini,text,commandchar),$left($1,1),32)) && (!$ctrlenter) && (!$inpaste) { 
    if (%lines > 2) {
      back
      unset %lines
    }
  }
}

A
alhammer
alhammer
A
No. I'm afraid that's not working. It executes "back" when in a whisper after 3 imputs. Any ideas why?

I
Iori
Iori
I
Noticee that tidy changed the first line too so it won't trigger for query windows.
  • on *:input:#:{

T
tidy_trax
tidy_trax
T
It shouldn't, since I clearly made the event only fire in channels.

A
alhammer
alhammer
A
blush Opps! I feel really stupid now! Thanks tidy and Iori!


Link Copied to Clipboard