09-09-2010, 03:17 +0200
AuthorPost
thommey  12-20-2009, 12:20   | [EGG] Redirect errors to a channel/query Jabber
(Administrator)
Member since 03/2004
54 Posts
                                                                                                                              
01
02
03
04
05
06
07
08
09
10
if {![info exists ::errortracer]} { set ::errortracer 1; trace add variable ::errorInfo write redirecterror }
proc redirecterror {n1 n2 op} {
    set ::olddblvalue ${::double-help}
    set ::double-help 0
    foreach line [split $::errorInfo \n] {
        puthelp "PRIVMSG #debug :$line"
    }
    set ::double-help $::olddblvalue
}


CyBex  07-24-2010, 12:26   Jabber  ICQ  AOL IM  Yahoo IM  MSN  Homepage
nie da
(Administrator)

Avatar

Member since 01/2004
236 Posts
Location: Berlin
why didn't you use {args} for vars? you dont use any of them.. :)

mfG CyBex @ QuakeNet, UnderNet, EFNet, Freenode, euIRC, GameSurge & ShadowWorld - Files
Advanced options for this topic:

Ignore this topic (Do not list this topic in the "unread topics" search. You are currently not ignoring this topic.)
Hide this topic (Hidden topics are not displayed in the topics list. This topic is currently not hidden.)
Go to forum

Unclassified NewsBoard 1.5.3-d | © 2003-4 by Yves Goergen