A few things that stand out.

  • Every If needs an EndIf. I do not see them in your code.
  • You are using %username%. This is possible but kix has the same info in the @UserID macro.
  • Do not use variables in strings. You can simple say $test = "1234" + @UserID for example.
  • You have some hidden shares. They use the dollar character at the end which is also the first character of a kix variable. You may need to double up on all of them so kix leaves them alone.

I would temporarily add an else statement to all failing If statements so you can see if the group check actually returns what it should.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.