KHD

functions

KHD
Feb 23rd, 2013
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.32 KB | None | 0 0
  1. /sortFunctions {
  2.   var %infile = functions.txt, %outfile = sorted_functions.txt, %function = 0, %functions = $lines(%infile)
  3.   while (%function < %functions) {
  4.     inc %function
  5.     tokenize 32 $read(%infile, n, %function)
  6.     if ($left($1,5) != sub_2) {
  7.       write %outfile $1 = $+(0x,$right($3, -1),;)
  8.     }
  9.   }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment