mIRC Home    About    Download    Register    News    Help

Print Thread
#77001 28/03/04 03:36 PM
Joined: Dec 2002
Posts: 230
G
greeny Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Dec 2002
Posts: 230
I'd like to be able to do $timer(bla*bl?,N). I know this can be scripted but anyways wink

Edit: if anyone is interested, here is the snippet I wrote for myself to do the job:
Code:
wtimer {
  var %i = 1,%t = 0
  while ($timer(%i)) {
    if ($1 iswm $timer(%i)) {
      inc %t
      if ($2 == %t) || ($2 == $null) { return $timer(%i) }
    }
    inc %i
  }
  if ($2 == 0) { return %t }
}

Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
I like this idea myself and could find it useful


Those who fail history are doomed to repeat it
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
It would be nice, I guess the reason it isn't already there is that you can have a timer called bla*bl?, but I guess it could just be taken to mean wildcards only if a second N parameter is given.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Dec 2002
Posts: 230
G
greeny Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Dec 2002
Posts: 230
Good point starbucks, but ever joined a channel like #****? You face the same problem when using $window then wink


Link Copied to Clipboard