mIRC Home    About    Download    Register    News    Help

Print Thread
#212277 17/05/09 02:13 PM
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Hello,

Does any body know how can i make the $script to return only the file name and not the hole file dir?

for e.g:
Code:
alias test { .echo -s INFO: $script }

this will return the hole $script location is there any way to return only the currently file that is the alias test ?

thanks!


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
westor #212278 17/05/09 02:27 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

$nopath($script)

RoCk #212279 17/05/09 02:33 PM
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
hehe i didn't noticed that, thanks!


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-

Link Copied to Clipboard