mIRC Homepage

!if returnex

Posted By: DJ_Sol

!if returnex - 10/05/11 05:06 PM


I downloaded the latest DCX updated for mIRC 7+ and Win7. DCX comes with aliases you need to make it all work and it was the syntax of some of these that I was wondering about.

This isn't a DCX question, this is a MSL question.

Can someone tell me about !if and /returnex please? Thank you.

alias xtreebar {
  !if ($isid) returnex $dcx( _xtreebar, mIRC $prop $1- )
  dcx xtreebar $1-
Posted By: 5618

Re: !if returnex - 10/05/11 05:17 PM

Remember, /if is a command, so !if is /!if and is a way to force mIRC to use the internal command, overriding any alias called 'if'.

/returnex is an undocumented variant of /return that preserves spaces.
Posted By: Wims

Re: !if returnex - 10/05/11 05:36 PM

/if isn't a command but is a keyword, you can't override a keyword so /!if is equal to /if anyway and they should just remove that !

Posted By: DJ_Sol

Re: !if returnex - 10/05/11 06:18 PM

Oh that's neat. I didn't know you could do that with the commands too. Thanks!
© 2021 mIRC Discussion Forums