This is an example of the funcionalities from the plugin I found on pastebin
http://pastebin.com/6ixQHPRB
P.S: anyway, Im just planning to setup a Idle server for the night, and we pretty much have everything done, but the only thing I can't seem to figure out is the autojoin on a team. I found a close enough plugin (
https://forums.alliedmods.net/showthread.php?t=224174) but you have to manually skip the "Message of the Day" screen which renders this useless for a idle server, also, conflicts with the MOTDT advertisement plugin so you can't have both.