Is there a better way of setting my varible up?
%nl.operator C:\Program Files\VTEC §cript Platinum ®\Icons\Operator.ico
some thing like $mircdir... but i would like it so no matter where the script is installed to, it will find it. I remeber seeing something like $findfile, but I can't for the life of me find it.
Any ideas guys?
Assuming the ICONS folder is under the folder the script is in? if so
%nl.operator $+($scriptdir,Icons\Operator.ico)
That works a treat, Thank you.
The best way to answer that would be to try it yourself. Though, it looks to be ok from a glance.
This is the error msg...
* /hload: error loading hash table 'Kte_Data' from 'Kte-Data.dat' (line 76, system.mrc)
Here is my line 76:
_hmake Kte_Data 8 | if ($isfile($kte_file(Kte-Data.dat))) { hload -b Kte_Data $kte_file(Kte-Data.dat) }
This is the Kte-Data.dat
Hide 12 Apply 1 Script\ "$mircdirThemes\vtecGOLD.mrc" CurScheme 10 TimestampFormat 11[11 HH:nn:ss 11] mUnzipDir! $mircdir\Themes\ ThmDir! $mircdir\Themes\ CurOTheme/ "$mircdirThemes\vtecGOLD.mts" GZipDir! $mircdirThemes\ CurTheme/ "$mircdirThemes\vtecGOLD.mts" Cache 3 FRep.Status 0
I have installed the script to my 'C:\Program files\Vtec script'
Any Ideas?
$+(something,somethingelse,andonemorething) joines them together into somethingsomethingelseandonemorething
But your example wont work becuase you cant just stick " on the front and end of a $+( ) like that.
You can however put them on the inside.
$+(",$scriptdir,Themes\vtecGOLD.mrc")
becuase then they become part of what your joining up. (concatanating)
Thats made a great improvement, Cheers