mIRC Home    About    Download    Register    News    Help

Topic Options
#84322 - 27/05/04 11:44 PM goto $null
Kelder Offline
Hoopy frood

Registered: 12/04/03
Posts: 701
Loc: Leuven, Belgium
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

Top
#84323 - 28/05/04 07:01 PM Re: goto $null
Aeron Offline
Babel fish

Registered: 12/12/03
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'?


Edited by Aeron (28/05/04 07:07 PM)

Top
#84324 - 01/06/04 04:18 PM Re: goto $null
Aeron Offline
Babel fish

Registered: 12/12/03
Posts: 61
/me slaps Khaled with a "FIX IT"-sign

j/k

Top
#84325 - 04/06/04 08:02 AM Re: goto $null
Krejt Offline


Fjord artisan

Registered: 04/12/02
Posts: 329
Loc: The Netherlands
This has been fixed in the new mIRC version 6.15
71.Fixed /goto gpf with empty : goto points.

Top