Spam Filter Rules: RemoveBag

Statement RemoveBag
Version 2.2.1+
Purpose Removes a specified value from a bag

The RemoveBag statement requires a bag name and a value, in the format

RemoveBag <bag name> <value>

Example

AddBag multi bag1 "left"
AddBag multi bag1 "right"
AddBag multi bag1 "left"
AddBag multi bag1 "right"
AddBag multi bag1 "left"

#bag1 contains "left", "right", "left", "right", "left"

RemoveBag bag1 "left"

#bag1 contains "right", "left", "right", "left"