mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2014
Posts: 52
Babel fish
OP Offline
Babel fish
Joined: Sep 2014
Posts: 52
Does anyone know if there is a Notepad++ plugin that will behave like the bracket checker built into mIRC?

Joined: Mar 2010
Posts: 146
Vogon poet
Offline
Vogon poet
Joined: Mar 2010
Posts: 146
Use mSLDev?


Nothing...
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Or have a look this: http://hawkee.com/snippet/7720/


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Sep 2014
Posts: 52
Babel fish
OP Offline
Babel fish
Joined: Sep 2014
Posts: 52
Thanks for the feedback guys. I will look into both. smile

Joined: Dec 2002
Posts: 33
J
Ameglian cow
Offline
Ameglian cow
J
Joined: Dec 2002
Posts: 33
There is another one too, http://hawkee.com/snippet/18676/, I like this one.

Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
You mind testing the bracket checker with this alias?

It behaves correctly for "/bracket_test 1", but displays nothing for "/bracket_test 0". This shows up if the last command of the line is commented and the if() condition is false. But if you comment test2 and not comment test3, it behaves as expected.

Code:
alias bracket_test {
  echo -a -----
  if ($1) { echo -a test1 | echo -a test2 | ; echo -a test3 }
  else echo -a test4
  echo -a test5
}

Joined: Dec 2002
Posts: 33
J
Ameglian cow
Offline
Ameglian cow
J
Joined: Dec 2002
Posts: 33
Sorry, not a programmer here, not sure what you really want me to test, hopefully a screenshot will do?


Last edited by jHoNDoE; 08/04/18 06:45 PM.
Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
The thread is about something that checks brackets the same way as the built-in bracket checker, which I was reading as being Ctrl-H. If the 2 colors for the brackets means that it's matching the 4 brackets without warning of errors, then it's behaving like mIRC, where Ctrl+H doesn't warn of an error, but the end bracket of that internal pair is ignored when the if() condition is $false, but recognized when $true.


Link Copied to Clipboard