Advertisement
intersys

Untitled

Apr 26th, 2014
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.52 KB | None | 0 0
  1. alias tpseed {
  2.   var %count = 1, %ticks = $ticks, %iterations = 1000, %length = 100
  3.   while (%count <= %iterations) {
  4.     noop $key1(%length)
  5.     inc %count
  6.   }
  7.   var %1result $calc($ticks - %ticks)
  8.  
  9.   var %count = 1, %ticks = $ticks
  10.   while (%count <= %iterations) {
  11.     noop $key2(%length)
  12.     inc %count
  13.   }
  14.   var %2result $calc($ticks - %ticks)
  15.  
  16.   echo -a $!key1: %1result ms - $!key2: %2result ms
  17. }
  18. alias key1 { return $remove($gettok($address(intersys,2),1,46),*!*@) }
  19. alias key2 { return $gettok($ial(intersys).host,1,46) }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement