Place the line:
raw *:*: echo -s ( $+ $numeric $+ ) $1-
above all the raw lines in the script and make the whois. You will see the numeric number associated to that raw. The raw number for logging is: 330