I am wanting to have a system where by people I am friends with can type a command and be given the latest news.

such as !news would check my friends list (a var - %friend John Jack Tim Fred Sally)

Check to make sure that they have identified with the server.

Then message them the latest news from a variable (%news This is todays news. A cat got stuck in a tree.)

I am happy to manually edit the variables when they need changing.

Any / all help appreciated.

I got as far as
Code:
 on *:text:!news:#: if ($nick == %friend)/msg $nick test %news 

it doesnt work confused

and variable definations (global)

thanks smile