citizenof |
Discworld expression help |
citizenof |
Name
citizenof - find if the person is a citizen of a city
Syntax
bool citizenof(string city)
Description
This method determines if the current person is a citizen of the the specificied city or not. You can use this to restrict what someone does based on their citizenship.
Examples
citizenof("ankh-morpork")