L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

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: 18
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
 Reputed by : benbt91(+1)
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,538
Joined: Jun 2012
Reputation: 576
Version: 1.4.3.143
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
Wink LifeDrain start 12.05.2017 Interlude drosgardius 0 2,343 05-10-2017 23:37 PM
Last Post: drosgardius
  LifeDrain start 12.05.2017 drosgardius 0 1,723 05-10-2017 23:36 PM
Last Post: drosgardius
  CP/Mana Stop Working Crnogorac 3 3,987 04-08-2016 10:36 AM
Last Post: TheQQmaster
Rainbow Solo iss+summoner scripts combo welkinds 119 254,492 12-09-2015 02:18 AM
Last Post: redline10
  Pluguin Chat command for start and stop Scrypt OxenteBahia 1 2,484 08-24-2015 22:45 PM
Last Post: schubbel2208
  L2 stop working when press login laydown 0 2,103 08-19-2015 00:53 AM
Last Post: laydown
  Premium+scripts questions krums 13 8,772 07-10-2015 08:19 AM
Last Post: TheQQmaster
  WTB Auto accept mail scripts or plugins king200527 0 2,372 07-07-2015 11:39 AM
Last Post: king200527
  L2.exe Stop Working. manolisfox 6 4,053 01-19-2015 01:03 AM
Last Post: manolisfox
  thanks god, i've stop playing........... soul2eat 5 4,995 01-08-2015 13:45 PM
Last Post: Fox



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