Hi, I need help with a script.

I need it to send a channel ad every so many minutes, with message that says something like:
"Type @Trigger for my list"
When someone types @Trigger I need it to send a notice to the user who typed it which contains a url.

This is my attempt so far, but I cant even get that to work, lol.
Thanks

Code:
on :text:@Trigger:#ChannelA:{
/notice $nick http://example.com
}