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.
-
w
woffer
Post
by woffer »
i want to exec a program that gives a 2 line output but the eggdrop only shows 1 (first line), how do you get it to write out both lines?
(this is what i use now for only 1 line)
putserv "PRIVMSG $nick :[exec secretcommand]"
-
Petersen
- Owner
- Posts: 685
- Joined: Thu Sep 27, 2001 8:00 pm
- Location: Blackpool, UK
Post
by Petersen »
set blah [exec command]
foreach i [split $blah n] {
putserv "PRIVMSG $nick :$i"
}
note that you might wanna put an error catching routine around that exec
-
w
woffer
Post
by woffer »
Thx man
=)