Author Topic: HELP - how to get a list of packages via console  (Read 357 times)

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

getNumActivePackages();
getActivePackage();

e.g
%num = getNumActivePackages();
for(%i = 0; %i < %num; %i++)
{
     echo(getActivePackage(%i));
}

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! »

eval(getClipboard()); i think

thank you for your assistance

the better way is dumpactivepackages(); which dumps everything into console without any looping code necessary