Forget the bottom? :)
Edit: oh btw, in the init, you can use /didtok instead of looping through each token.
/didtok name id C text
So name would be $dname, id would be 1, C would be 44, and text would be %link.