Article View: pl.comp.lang.tcl
Article #477Re: wykonanie poleceniecia konsoli bota ze skryptu
From: Googie
Date: Sun, 18 Mar 2007 20:00
Date: Sun, 18 Mar 2007 20:00
21 lines
1270 bytes
1270 bytes
Tomasz Motyliński wrote:
> Ktoś wie, jak np. wykonać polecenie .say ze skryptu? Nie pytam co
> zrobić aby bot przemówił, pytam jak wykonać polecenie konsoli.
>
putserv "PRIVMSG #kanal :jakas tresc"
albo napisac sobie do tego procedure:
proc {chan txt} {
putserv "PRIVMSG $chan :$txt"
}
i wtedy:
say #kanal "jakas tresc"
--
Pozdrawiam (Regards)!
Googie
Technical Details
Message-ID:
<etk5kp$5rd$1@atlantis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.gamma.ru!Gamma.RU!teleglobe.net!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<1732326.IC3OFkEeYD@jestem.fajny.i.w.ogole.super>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.gamma.ru!Gamma.RU!teleglobe.net!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Googie <googie@nospam.0rg> Newsgroups: pl.comp.lang.tcl Subject: Re: wykonanie poleceniecia konsoli bota ze skryptu Date: Sun, 18 Mar 2007 21:00:06 +0100 Organization: tp.internet - http://www.tpi.pl/ Lines: 21 Message-ID: <etk5kp$5rd$1@atlantis.news.tpi.pl> References: <1732326.IC3OFkEeYD@jestem.fajny.i.w.ogole.super> NNTP-Posting-Host: cafemax.eu.org Mime-Version: 1.0 X-Trace: atlantis.news.tpi.pl 1174247897 5997 85.128.51.194 (18 Mar 2007 19:58:17 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Sun, 18 Mar 2007 19:58:17 +0000 (UTC) User-Agent: KNode/0.10.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit