haha, how eloquent. the similarity between your example and the code in the link i provided speaks for itself.
pluse you have to have a !@#$ loop at the end or it wont run dumb ass
actually, it runs, but it runs instantaneously. apparently the calls to the agent are asynchronous and it is necessary to forcibly keep the program running so they have time to execute. but you already knew that, right? :P
the Sleep statement is used to avoid a spike in CPU usage, perhaps you could explain why you removed it?