Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Start and Stop Scripts
Author Message
benbt91 Offline
VIP Member
***

Posts: 694
Joined: Mar 2012
Reputation: 47
Version: 1.4.3.143
Post: #1
Start and Stop Scripts

Hi Guys ! Anyone know how can start and stop scripts at another folder inside scripts floder ? like this :

    LUA Programming
dofile (GetDir() .. "\\scripts\\AAAA\\test.lua");



i try use but don't work Sad :
    LUA Programming
ProcessCommand("/scriptstop"..(GetDir() .. "\\scripts\\AAAA\\test.lua"));



thnks
03-01-2015 11:16 AM
Find all posts by this user Quote this message in a reply
raid1141 Offline
Amber Basilisk
*

Posts: 37
Joined: Mar 2012
Reputation: 16
Version: 1.4.2.142
Post: #2
RE: Start and Stop Scripts

(03-01-2015 11:16 AM)benbt91 Wrote:  Hi Guys ! Anyone know how can start and stop scripts at another folder inside scripts floder ? like this :

    LUA Programming
dofile (GetDir() .. "\\scripts\\AAAA\\test.lua");



i try use but don't work Sad :
    LUA Programming
ProcessCommand("/scriptstop"..(GetDir() .. "\\scripts\\AAAA\\test.lua"));



thnks

Use "Command" instead:

    LUA Programming
Command(".scriptStart " .. customScript .. ".lua");

03-03-2015 21:32 PM
Find all posts by this user Quote this message in a reply
benbt91 Offline
VIP Member
***

Posts: 694
Joined: Mar 2012
Reputation: 47
Version: 1.4.3.143
Post: #3
RE: Start and Stop Scripts

(03-03-2015 21:32 PM)raid1141 Wrote:  
(03-01-2015 11:16 AM)benbt91 Wrote:  Hi Guys ! Anyone know how can start and stop scripts at another folder inside scripts floder ? like this :

    LUA Programming
dofile (GetDir() .. "\\scripts\\AAAA\\test.lua");



i try use but don't work Sad :
    LUA Programming
ProcessCommand("/scriptstop"..(GetDir() .. "\\scripts\\AAAA\\test.lua"));



thnks
thnks i will check it Big Grin

Use "Command" instead:

    LUA Programming
Command(".scriptStart " .. customScript .. ".lua");

03-08-2015 16:23 PM
Find all posts by this user Quote this message in a reply
bistabil Offline
Expired VIP Member
**

Posts: 85
Joined: Apr 2012
Reputation: 5
Version: 1.4.2.133
Post: #4
RE: Start and Stop Scripts

not working
I have too many scripts in root of scripts folder.
How to start them if they are inside another folder?[/align]
03-20-2015 14:03 PM
Find all posts by this user Quote this message in a reply
kerberos464 Offline
Bug revealer

Posts: 1,539
Joined: Jun 2012
Reputation: 576
Version: 1.4.2.142
Post: #5
RE: Start and Stop Scripts

it's impossible for now.

Everything is possible. The impossible just takes longer.
03-20-2015 14:05 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Ailing Predators participate in Senators in direction of start off 3-activity homesta Doles 0 195 09-19-2019 03:27 AM
Last Post: Doles
  POE: Neue Saison, neuer Start smoothMOOC2000 0 206 08-27-2019 04:06 AM
Last Post: smoothMOOC2000
  POE: Neue Saison, neuer Start smoothMOOC2000 0 202 08-27-2019 03:49 AM
Last Post: smoothMOOC2000
  https://www.herbalsupplementreview.com/body-start-keto/ solinamretek 0 224 08-24-2019 10:01 AM
Last Post: solinamretek
  https://www.herbalsupplementreview.com/body-start-keto/ pormaiyaya 0 259 08-23-2019 12:37 PM
Last Post: pormaiyaya
  Wonder Full Keto:-Kick start the metabolism EstelaBrewer 0 221 08-03-2019 11:28 AM
Last Post: EstelaBrewer
  will be able to stop eating what Labi1995 0 458 04-18-2019 07:18 AM
Last Post: Labi1995
  Where did you guys learn to write scripts? jamesisawesom 4 2,230 01-28-2019 09:31 AM
Last Post: BransonWesley
Wink LifeDrain start 12.05.2017 Interlude drosgardius 0 1,023 05-10-2017 23:37 PM
Last Post: drosgardius
  LifeDrain start 12.05.2017 drosgardius 0 679 05-10-2017 23:36 PM
Last Post: drosgardius



User(s) browsing this thread: 1 Guest(s)