polserver/pol-core/support/scripts/polsys.em
Fernando Rozenblit 70b9c1305c
Add maximum cmdlevel to polsys::ListTextCommands() (#231)
The default, -1, will return all commands as before. No need for a version bump because the method checks the number of arguments.
2020-08-19 07:19:30 +02:00

22 lines
589 B
Text

// Core 95 required to use this module
const MSGLEN_VARIABLE := -1;
AddRealm(realm_name,base_realm);
CreatePacket(type,size);
DeleteRealm(realm);
GetCmdLevelName(number);
GetCmdLevelNumber(name);
GetItemDescriptor(objtype);
FormatItemDescription(desc, amount := 1, suffix := "");
GetPackageByName(name);
IncRevision(object);
ListTextCommands(max_cmdlevel := -1); // the default (-1) returns all
ListenPoints();
MD5Encrypt(str);
Packages();
ReadMillisecondClock();
Realms(realm:="");
ReloadConfiguration(); // reloads pol.cfg and npcdesc.cfg
SetSysTrayPopupText(text);
LogCPropProfile();