Khaled...

try with many /query <nicks>...

Query Code:

Code:
alias query { 
  if (!$2) { !query $1 | bg $1 }
  else { !query $1 | bg $1 | msg $1- }
  haltdef
}

/BG Code:

Code:
alias -l bg {
  if (!$1) { return }
  var %n = $1
  tokenize 32 $mkfn($1)

  var %file = $qt($+($scriptdir,$1,.png))

  window -pdCk0arh +eLf @logo -1 -1 840 90
  drawtext -o @logo 01 Tahoma 60 20 7 $iif($len(%n) >= 22,$+($mid(%n,1,22),...),%n)
  drawtext -o @logo %tx Tahoma 60 20 5 $iif($len(%n) >= 22,$+($mid(%n,1,22),...),%n)

  drawsave -b32 @logo %file
  window -c @logo
  .timer -om 1 400 background -n %n %file
}

Test Many Queries:

Code:
alias doquery {
  var %a = 1, %b, %t = 1, %c = test1 test2 test3 test4 test5 test6 test7 test8 test9 test10
  while ($gettok(%c,%a,32)) {
    %b = $v1
    .timer 1 %t query %b
    inc %t
    inc %a
  }
}

Error:

Code:
* /background: unable to load 'C:\mIRC\scripts\test1.png' (line 317, new_theme.mrc)
* /background: unable to load 'C:\mIRC\scripts\test3.png' (line 317, new_theme.mrc)


As you can see, "sometimes" there are errors...

Try it again (many times) and get back to me...

Last edited by _entropy; 24/08/15 10:21 PM.

mIRC Scripts IRC Network: irc://irc.mircscripts.info/chat