Home
About
Download
Register
News
Help
Register
Log In
Forums
Bug Reports
bug in $exists ?
Forums
Active Threads
Search
Who's Online
Help
Print Thread
bug in $exists ?
#
28238
05/06/03
05:51 AM
Joined:
Mar 2003
Posts: 36
B
bugx
OP
Ameglian cow
OP
bugx
Ameglian cow
B
Joined:
Mar 2003
Posts: 36
I have this Var :
%rola d:\mp3\unas\[Alien Ant Farm] Smooth Criminal.mp3
I put in Status : //echo -a $exists(%rola)
and return me : $true
I put in Status : //echo -a $shortfn(%rola)
and return me : d:\mp3\unas\_ALIEN~1.MP3
All is ok, but if a try to use in an Alias it not work
I try :
echo -s $exsists(%rola)
echo -s $exists($shortfn(%rola))
echo -s $exists(d:\mp3\unas\_ALIEN~1.MP3)
echo -s $exists(d:\mp3\unas\[Alien Ant Farm] Smooth Criminal.mp3)
echo -s $exists($shortfn(d:\mp3\unas\[Alien Ant Farm] Smooth Criminal.mp3))
(and without echo because i need it in a "if")
And all say : * /echo: insufficient parameters
I'm wrong ? Or is a bug ?
I need to catch the $true or $fale in $exists (Wrong answer "put quotes")
Copy Link to Clipboard
Re: bug in $exsists ?
#
28239
05/06/03
05:59 AM
Joined:
Jan 2003
Posts: 3,012
New Hampshire, USA
KingTomato
Hoopy frood
KingTomato
Hoopy frood
Joined:
Jan 2003
Posts: 3,012
New Hampshire, USA
you spelt the first exists alias wrong.. could that be it? >:D Also, does the same problem exists with $isFile() ?
-KingTomato
Copy Link to Clipboard
Re: bug in $exists ?
#
28240
05/06/03
06:07 AM
Joined:
Mar 2003
Posts: 36
B
bugx
OP
Ameglian cow
OP
bugx
Ameglian cow
B
Joined:
Mar 2003
Posts: 36
Sorry i forget that identifier...
Ok, now, is the same
In Status directly with "//echo -a $isfile(bla...bla)" works fine, but in Alias not work
$exists $isfile $shortfn not work in Alias
Copy Link to Clipboard
Re: bug in $exists ?
#
28241
06/06/03
03:12 AM
Joined:
Mar 2003
Posts: 36
B
bugx
OP
Ameglian cow
OP
bugx
Ameglian cow
B
Joined:
Mar 2003
Posts: 36
Sorry for the space used in my cuestion
I found a result : [ ]
echo -s $exists( [ %rola ] )
If an alias is : check { echo -s $exists(%rola) }
it works, but if i use 4 lines after, not works :
check {
line1
line2
line3
line4
echo -s $exists(%rola)
}
Copy Link to Clipboard
Re: bug in $exists ?
#
28242
07/06/03
12:38 AM
Joined:
Jun 2003
Posts: 3
M
MijT
Self-satisified door
MijT
Self-satisified door
M
Joined:
Jun 2003
Posts: 3
you must use "root/filename"
for example:
aaa {
var %file = $+(",C:\some dir\somefile.ext,")
echo -a aaaa
echo -a aaaa
echo -a aaaa
echo -a aaaa
echo -a $isfile(%file)
}
it works very well, in alias, scripts, events....
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage