mIRC Home    About    Download    Register    News    Help

Print Thread
bypass $os #240804 28/02/13 05:09 PM
Joined: Jun 2009
Posts: 96
V
vinifera Offline OP
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)

Re: bypass $os [Re: vinifera] #240806 28/02/13 07:00 PM
Joined: Jan 2004
Posts: 1,350
L
Loki12583 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,350
Any built-in alias can be overwritten just by defining your own.

Re: bypass $os [Re: Loki12583] #240807 28/02/13 07:03 PM
Joined: Jun 2009
Posts: 96
V
vinifera Offline OP
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

Re: bypass $os [Re: vinifera] #240809 28/02/13 07:06 PM
Joined: Jan 2004
Posts: 1,350
L
Loki12583 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,350
Your're right, looks like the answer is 'no' then.

Re: bypass $os [Re: vinifera] #240810 28/02/13 07:11 PM
Joined: Jul 2006
Posts: 3,889
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,889
$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
Re: bypass $os [Re: vinifera] #240811 28/02/13 07:12 PM
Joined: Feb 2011
Posts: 403
K
KindOne Offline
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 403
As far as the /help goes.. No.

/help Custom Identifiers

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


Create your own.


irc.swiftirc.net #msl (mIRC Scripting Language)