Variables and things - 24/01/05 05:24 PM
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
it doesnt work
and variable definations (global)
thanks
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
and variable definations (global)
thanks