Advertisement
Iire

$ieifbug

Aug 11th, 2011
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.41 KB | None | 0 0
  1. ;Bug: $v1/$v2 don't evaluate properly.
  2.  
  3. alias ieif {
  4.   var %c 1, %v 2, %t 0, %f 0
  5.   while (%v <= $0) {
  6.     var %x $regsubex($ [ $+ [ %c ] ] ,/(\$)(\S+)/g,\1!\2), %y $ [ $+ [ %v ] ]
  7.     $iif( [ %x ] && !$prop,return %y,$iif( [ %x ] ,inc %t,inc %f))
  8.     inc %c 2
  9.     inc %v 2
  10.   }
  11.   if ($istok(true false,$prop,32)) return $replace($prop,true,%t,false,%f)
  12.   else return $iif(2 \\ $0 && $2,$ [ $+ [ $0 ] ] )
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement