Project

General

Profile

Script not loading, need to set path??

Added by acid blue about 5 years ago

Trying to load my script but keep getting error:
/load no such file 'C:\Program Files(x86)\AdiIRC

AdiIRC is looking in the wrong place, how do I set it to look in the Scripts folder?


Replies (10)

RE: Script not loading, need to set path?? - Added by acid blue about 5 years ago

How do i use that to set me scripts path??
/load $adiirc\Scripts ???

RE: Script not loading, need to set path?? - Added by Per Amundsen about 5 years ago

If typed from the Editbox you have to use double slashes:

//load $adiircdir\Scripts

RE: Script not loading, need to set path?? - Added by Per Amundsen about 5 years ago

Forgot to add filename:

//load $adiircdir\Scripts\filename.ini

RE: Script not loading, need to set path?? - Added by acid blue about 5 years ago

Not sure I understand
Do I add that to my script file??
//load $adiirc|Scripts\filename.ini

RE: Script not loading, need to set path?? - Added by acid blue about 5 years ago

Oh the Editbox, i get it.
But I still get the same error. :(

RE: Script not loading, need to set path?? - Added by Per Amundsen about 5 years ago

Also need to add the -rs parameters as you can see in /load, I also added $qt in case the path has spaces in it.

//load -rs $qt($adiircdir\Scripts\filename.ini)

Keep in mind it's $adiircDIR not just $adiirc and don't use "|" for path separator, use "\".

Also assuming filename.ini is inside that folder.

You now mention "add that to my script", Still not sure what exactly you are trying to do, please provide more details.

RE: Script not loading, need to set path?? - Added by acid blue about 5 years ago

ok that works.
Is there an easier way to load scripts??
so I dont have to do so much typing every time I want to load a script??

RE: Script not loading, need to set path?? - Added by Per Amundsen about 5 years ago

Not sure what you mean, you can load scripts in the Script Editor?

RE: Script not loading, need to set path?? - Added by acid blue about 5 years ago

Yes, you are so right, didn't realize you could do that until just now.

    (1-10/10)