mIRC Home    About    Download    Register    News    Help

Print Thread
#231927 10/05/11 05:06 PM
Joined: Jan 2007
Posts: 1,156
D
DJ_Sol Offline OP
Hoopy frood
OP Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Hello,

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.

Code:
alias xtreebar {
  !if ($isid) returnex $dcx( _xtreebar, mIRC $prop $1- )
  dcx xtreebar $1-
}

DJ_Sol #231929 10/05/11 05:17 PM
Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
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.

DJ_Sol #231930 10/05/11 05:36 PM
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
/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 !



#mircscripting @ irc.swiftirc.net == the best mIRC help channel
5618 #231932 10/05/11 06:18 PM
Joined: Jan 2007
Posts: 1,156
D
DJ_Sol Offline OP
Hoopy frood
OP Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Oh that's neat. I didn't know you could do that with the commands too. Thanks!


Link Copied to Clipboard