Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function isActivePackage(%opt)
- {
- %packnum = GetNumActivePackages();
- for(%i = 0 ; %i < %packnum - 1 ; %i++)
- {
- %p = getActivePackage(%i);
- if(%p $= %opt)
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement