unfortunately, that won't work.
That will make it do the following:
Set looting to the variables value.
Wait 5 minutes before doing anything
Flip the looting variable to the opposite value
Wait for 1 minute
Repeat
So you'll get something like this:
Variable value = false:
Set looting to false.
Make plugin wait 5 minutes before doing anything
Set looting variable to true
Make plugin wait 1 minute before doing anything
Repeat:
Set looting to True.
Make plugin wait 5 minutes before doing anything
Set looting variable to False
Make plugin wait 1 minute before doing anything
Repeat
Set looting to false.
Make plugin wait 5 minutes before doing anything
Set looting variable to true
Make plugin wait 1 minute before doing anything
Repeat
I think your desired outcome is something else. I'm guessing you want it to sometimes wait 5 minutes, and sometimes wait 1 minute?
I am glad I could help 🙂 !!!

I think that that WRobot will only try looting after it kills something. So if the line that droidz (LootMobs = false;) sent was used, and you killed 20 mobs, it would only loot things for after when you did LootMobs = true

1. The plugin _should_ gather for friendly and enemy players. It uses the WRobot API to determine if players are nearby, so unless this is broken by Droidz, it should pull back both.
2. Yes you can set a range for players before it sounds.