Big thanks for your help. I tried this code, but it works half. I removed all IF:s but this, in topic: "if (NASA isin $2-) set -u30 %news.show 1". Cause it is enough, that topic contains specified word and then it would paste topic, group, snippet, link.

First of all, topic didn't need to match to anything that it started to msg channel. It says all news, even there is (NASA isin $2-).

Secondly, msg acts weirdly too. I came to irc with other client and simulated this situation.

(20:17:55) <NewsBot> News!
(20:17:55) <NewsBot> Topic: NASA test new
(20:17:55) <NewsBot> Group: Test
(20:17:55) <NewsBot> Snippet: gasgiagagag
(20:17:55) <NewsBot> Link: http://www.test.com

And script outputs:
(20:17:55) <TheOner> News!
(20:17:55) <TheOner> Topic: NASA test new
(20:17:55) <TheOner> Group: Test
(20:17:55) <TheOner> News!
(20:17:55) <TheOner> Topic: NASA test new
(20:17:55) <TheOner> Group: Test
(20:17:55) <TheOner> Snippet: gasgiagagag
(20:17:55) <TheOner> News!
(20:17:55) <TheOner> Topic: NASA test new
(20:17:55) <TheOner> Group: Test
(20:17:55) <TheOner> Snippet: gasgiagagag
(20:17:55) <TheOner> News!
(20:17:55) <TheOner> Topic: NASA test new
(20:17:55) <TheOner> Group: Test
(20:17:55) <TheOner> Snippet: gasgiagagag
(20:17:55) <TheOner> Link: http://www.test.com


Last edited by Jammaez; 06/10/08 05:32 PM.