mIRC Homepage
Posted By: Scorpwanna Halting default identifiers - 26/05/07 02:42 AM
I'm sure I've done this before, halting a default identifier. Or was that just a command alias?

Say for example i want to haltdef the $ignore identifier, wouldn't i just

Code:
alias ignore {
  haltdef
  return testing
}


* Scorpwanna scratches head..
Posted By: RoCk Re: Halting default identifiers - 26/05/07 02:43 AM
Actually you can't override internal identifiers..

from the help file..

Originally Posted By: mirc.chm
Note: Built-in identifiers of the same name have priority
Posted By: Scorpwanna Re: Halting default identifiers - 26/05/07 02:46 AM
Originally Posted By: RoCk
Just the return will override the internal identifier...

Code:
alias ignore return testing



Code:
alias sound {
  return testing
}


Shouldn't that override the $sound identifier? Doesn't for me frown.

edit:
Oh, crap frown. the $sound one was what I was trying to override. Sucks... Thanks anyways.
Posted By: MeStinkBAD Re: Halting default identifiers - 26/05/07 08:12 PM
There really should be a way to override the internal indentifiers... it's rather lame you can not.
Posted By: Scorpwanna Re: Halting default identifiers - 26/05/07 09:07 PM
Yeah, I was once able to override the $mp3 one with one I had created myself years ago. $mp3 would always spit out the wrong information and the alias identifier I made would show the correct information. I loaded up the old script just to test this and now it seems the overriding doesn't work. Yeah that's lame frown.
© mIRC Discussion Forums