|
|
Register •
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 3 posts ] |
|
| Author |
Message |
|
Wildstar
Lieutenant
Joined: Fri Apr 05, 2002 3:00 am Posts: 580 Location: USA
|
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
_________________ My scripts can be downloaded at http://www.grimytrader.com/.
Ore *****.
Even in my signature it's blocked out.
|
| Sat Jun 19, 2004 12:48 am |
|
 |
|
Wotok
Ensign
Joined: Thu Jan 23, 2003 3:00 am Posts: 206 Location: USA
|
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"
_________________ --==[ http://tradewars.wotok.com ]==--
rm -rf /bin/laden
|
| Sat Jun 19, 2004 1:58 am |
|
 |
|
ElderProphet
Commander
Joined: Tue Oct 07, 2003 2:00 am Posts: 1134 Location: Augusta, GA
|
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+
_________________ Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.
|
| Sat Jun 19, 2004 12:22 pm |
|
 |
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 17 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|