User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

set_load_path [2006/08/29 20:18] (current)
Line 1: Line 1:
 +[[set]] load_path [<​directory>​[:<​directory>​ ...]]
 +This setting is used primarily by [[LOAD]] and [[WHICH command|WHICH]]
 +(and thus the $[[which function|which]]() function). ​ If the client
 +tries to access a file and cannot find it, it searches through each
 +directory listed in the __LOAD_PATH__. ​ It operates much like the PATH
 +statement in Unix shells. ​ The directories are searched sequentially.
 +To set the path to your home directory, and the client'​s script library:
 + /set load_path ~:/​usr/​local/​irc/​script
 +To add ~/my_irc to the path:
 + /eval set load_path ${load_path}:​~/​my_irc
 +======Other Notes:​======
 +The client will also obey the IRCPATH environment variable when first starting
 +the client. ​ It will override __LOAD_PATH__ until the client is started
 +completely (i.e. everything in the .ircrc has loaded).
set_load_path.txt ยท Last modified: 2006/08/29 20:18 (external edit)