This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
-
rtk
- Voice
- Posts: 7
- Joined: Fri Apr 22, 2005 7:46 am
Post
by rtk »
Hi all
i need a simple tcl script that connect eggdrop to my (simple) web page
www.mysite.egg/test.php
and write the web text on chan on pub command , like !web
the web text is
1 - blablabla
2 - blablabla
3 - etc etc etc
(line x line)
Please help me
-
De Kus
- Revered One
- Posts: 1361
- Joined: Sun Dec 15, 2002 11:41 am
- Location: Germany
Post
by De Kus »
http://www.tclscript.com/egghttp_tut.shtml
you simply need to do a
foreach line [split $body \n] { puthelp "privmsg $chan :$line"}
for the linebreaks.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under
The MIT License
Love hurts, love strengthens...