Thanks for those suggestions. Actually the join.time variable is getting set. The reason that I used $mid on the $ctime is to save space in the text file. The alias will add the first 1 to the left side and a 0 to the right side when I call back a line. Changing the right side number to 0 would only make it inaccurate to possibly a few seconds, which doesn't matter much. Thanks again to everyone who helped.