Multiple Script Loading
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Multiple Script Loading

Started by Cboy301, 16 February, 2004, 03:33:00

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cboy301

Hi! I looking for a script to make all my scripts load as one. I have 9 scripts and its kinda confusing. Thanks!
Thanks,
       Mikey

Visit My Hub At kickincountry.no-ip.com

[NL]trucker

Cboy301

A; this is not the right section to post it m8 next time post this one in the help section i think it belongs there.

B: if you put the scripts in the dir pkotax\scripts they will
    be automatticly loaded when you start the hub.

So i cant see a reason to have a script that does that.

c: if you mean you want to have just one script showing  in main just give the scripts 1 botname
that way it looks you only have 1 script running ;

or

D: if you see something like this line in script:

BotName = "xxxxxxxxx"

function Main()
frmHub:RegBot(BotName)
end


just put this -- in front of the lines like this


BotName = "xxxxxxxx"

--function Main()
--frmHub:RegBot(BotName)
--end

that way the lines arent processed and the botname isnt showing in main.

hope this helped a bit.
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


kepp

If you mean that you would rather have one script Loaded instead of 9 you can dofile the files from 1 script


Path = "DATA\"
dofile(Path.."file1.lua")
dofile(Path.."file2.lua")
dofile(Path.."file3.lua")
dofile(Path.."file4.lua")
dofile(Path.."file5.lua")
dofile(Path.."file6.lua")
dofile(Path.."file7.lua")
dofile(Path.."file8.lua")
dofile(Path.."file9.lua")

So you will need all files in a folder Called "DATA"

else if you want all files as a one script you can request in 'HELP' section or something similiar for people to help you!
Guarding    

SMF spam blocked by CleanTalk