mIRC Home    About    Download    Register    News    Help

Print Thread
{ } button #84319 27/05/04 09:54 PM
Joined: Mar 2004
Posts: 36
N
Nodren Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Mar 2004
Posts: 36
very simple request/suggestion.

the { } button, when you have uneven brackets, instead of taking me half way through my script away from the source of the problem, why not take the script right to the last line that's not indented(which will be pretty darn close to where the source of the missing brackets would be)

Re: { } button #84320 27/05/04 10:07 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Yeah i noticed that, good idea, although i never get mismatches, it happens a lot if i'm helping people.
My little tip to avoiding bracket mismatches is to make the layout of the script first, eg:

alias test {
if () {

}
}

Then put the actual coding in afterwards.


New username: hixxy
Re: { } button #84321 28/05/04 03:58 AM
Joined: May 2004
Posts: 38
anss Offline
Ameglian cow
Offline
Ameglian cow
Joined: May 2004
Posts: 38
Thats how i do it tody wink

()'s are my problem, i always lose track of those