Based on trollcall template by SwirlyGerm.