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.
ShavdApe
Halfop
Posts: 46 Joined: Mon Dec 15, 2003 5:22 pm
Post
by ShavdApe » Mon Jul 12, 2004 10:31 am
I want to output error msg's i get in some processes to a channel is this possible if so how please?
greenbear
Owner
Posts: 733 Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway
Post
by greenbear » Mon Jul 12, 2004 11:16 am
You can use catch
Code: Select all
if {[catch {# command goes here} error]} {
putserv "PRIVMSG $chan :$error "
}
greenbear
Owner
Posts: 733 Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway
Post
by greenbear » Mon Jul 12, 2004 11:46 am
np.
I forgot to mention that tcl will also store more detailed error info in a var called $errorInfo, so if you're stuck you might want to take a look at that.
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Mon Jul 12, 2004 9:20 pm
Yes, correct gb.
That would can be displayed by typing:
.tcl set errorInfo in partyline.
(Would display a detailed view of the error)
Making sure you have commented/removed the unbind for
the tcl binding in dcc of your bot's .CONF file.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================