mIRC Home    About    Download    Register    News    Help

Print Thread
#240804 28/02/13 05:09 PM
Joined: Jun 2009
Posts: 96
V
Babel fish
OP Offline
Babel fish
V
Joined: Jun 2009
Posts: 96
is there any way of bypassing $os on older mirc versions (6.1x, 6.2x)

vinifera #240806 28/02/13 07:00 PM
Joined: Jan 2004
Posts: 1,360
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,360
Any built-in alias can be overwritten just by defining your own.

Loki12583 #240807 28/02/13 07:03 PM
Joined: Jun 2009
Posts: 96
V
Babel fish
OP Offline
Babel fish
V
Joined: Jun 2009
Posts: 96
not all
when i did

alias os { return bla }

it still bypasses it

vinifera #240809 28/02/13 07:06 PM
Joined: Jan 2004
Posts: 1,360
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,360
Your're right, looks like the answer is 'no' then.

vinifera #240810 28/02/13 07:11 PM
Joined: Jul 2006
Posts: 4,180
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,180
$identifier always call the built-in identifier if it exists, otherwise the custom identifier if it exists, $null otherwise.

$/identifier always call the custom identifier if it exists, $null otherwise.

$~identifier always call the built-in identifier if it exists, $null otherwise.

In any case, overriding a built in command/identifier is not a good idea, make $_os and use that if you can.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
vinifera #240811 28/02/13 07:12 PM
Joined: Feb 2011
Posts: 461
K
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 461
As far as the /help goes.. No.

/help Custom Identifiers

Quote:
Note: Built-in identifiers of the same name have priority.


Create your own.


Link Copied to Clipboard