|
please rename $cd so it doesnt screw up aliases
#94796
20/08/04 01:22 AM
|
Joined: Oct 2003
Posts: 101
root66
OP
Vogon poet
|
OP
Vogon poet
Joined: Oct 2003
Posts: 101 |
the identifier $cd works like $mircdir in the sense that you can put text right behind it like $mircdirmirc.exe ... THIS IS VERY ANNOYING. I am doing cd player stuff and I can't even start any of my identifiers with "cd" because of this stupid $cd identifer that I never even use. Why did Khaled have to chose such a common letter combination for an identifier that works this way? I really really hate this.
|
|
|
Re: please rename $cd so it doesnt screw up aliases
#94797
20/08/04 01:27 AM
|
Joined: Dec 2002
Posts: 788
Coolkill
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 788 |
Its 'cd' because, it refers to the currentdirectory in a fileserver it just so happens that DOS also uses 'cd' for the same reason.
Something tells me Khaled isnt going to rename it just because you want to start an alias with 'cd' when you can stop being so picky and use something else.
Eamonn.
|
|
|
Re: please rename $cd so it doesnt screw up aliase
#94798
20/08/04 01:31 AM
|
Joined: Dec 2002
Posts: 2,962
starbucks_mafia
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,962 |
Use $_cd*, problem solved. Breaking backwards compatability with all scripts using $cd so that you can use the exact alias name you want doesn't seem like a good idea does it?
Spelling mistakes, grammatical errors, and stupid comments are intentional.
|
|
|
Re: please rename $cd so it doesnt screw up aliase
#94799
20/08/04 08:08 AM
|
Joined: Mar 2003
Posts: 50
coolspot
Babel fish
|
Babel fish
Joined: Mar 2003
Posts: 50 |
You can always use a not-so-well-known feature of mirc to solve the problem. Try the following:
alias cd { ;Your code goes here }
Now, instead of using $cd in your code, try using $.cd or$/cd. Using the identifiers in this way lets mirc know that you want a result returned from your own code vesus mIRC's internal code.
|
|
|
Re: please rename $cd so it doesnt screw up aliases
#94800
22/08/04 04:58 PM
|
Joined: Feb 2004
Posts: 15
OuttaControlX
Pikka bird
|
Pikka bird
Joined: Feb 2004
Posts: 15 |
wow, your on ignorant idvidual, why cant you just use a diffrent alias, he would have to edit his whole program cuse one little lazy baby wants to sue a damn alias, aww poor baby
|
|
|
Re: please rename $cd so it doesnt screw up aliase
#94801
22/08/04 05:02 PM
|
Joined: Jun 2003
Posts: 5,024
Mentality
Hoopy frood
|
Hoopy frood
Joined: Jun 2003
Posts: 5,024 |
There is no need for insults, it only starts flame wars. We expect people to be courteous to others at all times  Regards,
Mentality/Chris
|
|
|
Re: please rename $cd so it doesnt screw up aliase
#94802
23/08/04 03:34 AM
|
Joined: Aug 2004
Posts: 147
nalAAlan
Vogon poet
|
Vogon poet
Joined: Aug 2004
Posts: 147 |
Its 'cd' because, it refers to the currentdirectory in a fileserver it just so happens that DOS also uses 'cd' for the same reason. cd in dos means change directory.
|
|
|
Re: please rename $cd so it doesnt screw up aliase
#94803
23/08/04 09:10 AM
|
Joined: Dec 2002
Posts: 788
Coolkill
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 788 |
hmm, You are correct actually, 'appologies  Eamonn.
|
|
|
Re: please rename $cd so it doesnt screw up aliase
#94804
25/08/04 03:42 AM
|
Joined: Mar 2004
Posts: 540
Armada
Fjord artisan
|
Fjord artisan
Joined: Mar 2004
Posts: 540 |
Actually its both
C:\WINDOWS>cd C:\WINDOWS
C:\WINDOWS>cd ..
C:\>cd C:\
C:\>
|
|
|
|
|
|