mIRC Home    About    Download    Register    News    Help

Print Thread
#84322 27/05/04 10:44 PM
Joined: Apr 2003
Posts: 701
K
Kelder Offline OP
Hoopy frood
OP Offline
Hoopy frood
K
Joined: Apr 2003
Posts: 701
Code:
alias crash {
  goto $null
  :
}
alias crash2 { goto | : }

alias nocrash {
  var %i = -2
  :
  inc %i
  if (%i) {
    goto $null
  }
}

Simple: /crash or /crash2 will crash mIRC (v6.14), /nocrash will just give a * /goto: insufficient parameters

I've been doing some fancy scripting using the poor man's switch statement, this looks like the step too far grin

#84323 28/05/04 06:01 PM
Joined: Dec 2003
Posts: 61
A
Babel fish
Offline
Babel fish
A
Joined: Dec 2003
Posts: 61
Confirmed, using mIRC 6.14.

Every sort of
"//goto | :"
"//dll | :"
"//com | :"
is crashing

This has something to do with the ':error' thing.
Because the gotopoint is invaild it searches for another ':error'?

Last edited by Aeron; 28/05/04 06:07 PM.
#84324 01/06/04 03:18 PM
Joined: Dec 2003
Posts: 61
A
Babel fish
Offline
Babel fish
A
Joined: Dec 2003
Posts: 61
/me slaps Khaled with a "FIX IT"-sign

j/k

#84325 04/06/04 07:02 AM
Joined: Dec 2002
Posts: 329
Fjord artisan
Offline
Fjord artisan
Joined: Dec 2002
Posts: 329
This has been fixed in the new mIRC version 6.15
71.Fixed /goto gpf with empty : goto points.


Link Copied to Clipboard