| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| Include https://mail.black-squirrel.com/viewtopic.php?f=15&t=13041 |
Page 1 of 1 |
| Author: | Wildstar [ Sat Jun 19, 2004 12:48 am ] |
| Post subject: | |
I am trying to use the include with some of my scripts and I am haveing trouble. I will keep it imple since I am simple. I have an include in the include folder called WildstarStats. what would the line be to get the Include?Every time I try it says "Unable to process include file" Thanks Wildstar |
|
| Author: | Wotok [ Sat Jun 19, 2004 1:58 am ] |
| Post subject: | |
At the bottom of your script put: include "WildstarStats" make sure WildstarStats.ts is in your twx folder... or make a "twx/include" folder to keep your includes in and change your line to include "include/WildstarStats" |
|
| Author: | ElderProphet [ Sat Jun 19, 2004 12:22 pm ] |
| Post subject: | |
Wotok's right on. Perhaps this will help also. An include acts just like a subroutine, except that triggers set within the include do not work from the main script or another include. Other than that, you access the include exactly the same as you would a subroutine using gosub and return. Shout back if you need additional info. +EP+ |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|