mIRC Home    About    Download    Register    News    Help

Print Thread
#151863 22/06/06 01:20 PM
Joined: Jun 2006
Posts: 58
S
sas22 Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Jun 2006
Posts: 58
on *:text:*:?:{
inc %rout [ $+ [ $wildsite ] ] 1
{ msg $nick yo }
if (%rout [ $+ [ $wildsite ] ] > 1) {
halt
unset %rout [ $+ [ $wildsite ] ]
}
}
So I query with a test clone once and it replied then I tried it again for the 2nd time and it still replied

#151864 22/06/06 02:16 PM
Joined: Jul 2004
Posts: 31
H
Ameglian cow
Offline
Ameglian cow
H
Joined: Jul 2004
Posts: 31
Code:
on *:text:*:?:{
  if (%rout [ $+ [ $wildsite ] ]) {
    unset %rout [ $+ [ $wildsite ] ]
  }
  else {
    inc %rout [ $+ [ $wildsite ] ]
    msg $nick yo
  }
}


no good though, it'll reply every 2nd time. better change to on open event to prevent this.

Code:
on 1:OPEN:?:*:{
  msg $nick yo
}

#151865 22/06/06 02:24 PM
Joined: Jun 2006
Posts: 58
S
sas22 Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Jun 2006
Posts: 58
Quote:
Code:
on *:text:*:?:{
  if (%rout [ $+ [ $wildsite ] ]) {
    unset %rout [ $+ [ $wildsite ] ]
  }
  else {
    inc %rout [ $+ [ $wildsite ] ]
    msg $nick yo
  }
}


no good though, it'll reply every 2nd time. better change to on open event to prevent this.

Code:
on 1:OPEN:?:*:{
  msg $nick yo
}
Thanks


Link Copied to Clipboard