!include: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| No edit summary | No edit summary | ||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| ; !include [<filename>] | ; !include [<filename>] | ||
| : Use this option to include different files as part of  | : Use this option to include different files as part of the file it's used in. That makes it easier to reuse configurations. | ||
| :'''''Note'''. You can use a path that is relative to  | :'''''Note'''. You can use a path that is relative to the file this is used in.'' | ||
|   Example: |   Example (config.txt): | ||
|      !include account.txt |      !include account.txt | ||
|      !include skills/hunterselfskills.txt |      !include skills/hunterselfskills.txt | ||
| Line 11: | Line 11: | ||
| :In the example above, if your config.txt is placed in the folder is "C:\Openkore\control", the files "C:\Openkore\control\account.txt" and "C:\Openkore\control\skills\hunterselfskills.txt" will be included as part of your configuration. | :In the example above, if your config.txt is placed in the folder is "C:\Openkore\control", the files "C:\Openkore\control\account.txt" and "C:\Openkore\control\skills\hunterselfskills.txt" will be included as part of your configuration. | ||
| [[Category: | [[Category:control]] | ||
Latest revision as of 06:38, 22 May 2025
- !include [<filename>]
- Use this option to include different files as part of the file it's used in. That makes it easier to reuse configurations.
- Note. You can use a path that is relative to the file this is used in.
Example (config.txt): !include account.txt !include skills/hunterselfskills.txt
- In the example above, if your config.txt is placed in the folder is "C:\Openkore\control", the files "C:\Openkore\control\account.txt" and "C:\Openkore\control\skills\hunterselfskills.txt" will be included as part of your configuration.