Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
HELP - how to get a list of packages via console
« previous
next »
Print
Pages: [
1
]
Author
Topic: HELP - how to get a list of packages via console (Read 495 times)
The Resonte!
July 22, 2016, 08:46:55 AM
time IS A FACTOR HERE
i have to know whether there's a console command or anything of the sort that allows me to obtain a list of Packages used by the server
Ad Bot
Advertisement
EcstaticEggplant
July 22, 2016, 09:05:31 AM
getNumActivePackages();
getActivePackage();
e.g
%num = getNumActivePackages();
for(%i = 0; %i < %num; %i++)
{
echo(getActivePackage(%i));
}
The Resonte!
July 22, 2016, 09:06:54 AM
what was that function that pasted everything in your clipboard to the console?
edit: hmm...
commandToServer('messageSent', "your eval activator" @ getclipboard());
commandToServer('messagesent',getClipBoard());
«
Last Edit: July 22, 2016, 09:08:27 AM by The Resonte!
»
EcstaticEggplant
July 22, 2016, 09:08:30 AM
eval(getClipboard()); i think
The Resonte!
July 22, 2016, 09:17:42 AM
thank you for your assistance
Conan
July 22, 2016, 12:11:59 PM
the better way is dumpactivepackages(); which dumps everything into console without any looping code necessary
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
HELP - how to get a list of packages via console