The code above is equivalent to this code:
[ cityRules;
if (sw__var == ##Attack) {
"This is a nice town, there's no need for that.";
rfalse;
}
rtrue;
];
The `rfalse;' is never executed. Try this instead:
[ cityRules;
Attack: "This is a nice town, there's no need for that.";
default: rfalse;
];
-- Gareth Rees