apologies if it's been suggested before (it's not particularly easy to search for), but I propose the addition of a new /debug switch that would deal with all internal commands and not ones that are sent between the client and an IRC server.

each line could include the script filename (this is tricky; the filenames can include spaces), the line number and the command as it stood after full evaluation. if/while statements could be excluded unless there were a sensible way of including them.

while this can be achieved to some extent by placing /echo commands in the right places in scripts, i do believe the added benefits of my suggestion (such as the ability to locate a stray piece of code that's causing ambiguous error messages) warrant its consideration


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde