Age:32 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
Posted: Sun Aug 03, 2008 10:54 am Post subject: <py> Automated team picking
Here's a python freqmanager module I wrote to take care of picking teams a lot faster than a host could normally do it. It also has the added advantage of making people stay on the team they were picked to.
I would advise locking the arena and sticking everyone in spec until picking is done. To start out you need to assign captains with /?capt <freq number>. There can only be one captain per team. Once captains have been assigned, use ?pick <freq number of captain with first pick> to start the picking and it will pretty much take care of itself from there. If you want to reassign a captain, pm a new player with /?capt <freq number> and they will replace the previous captain. You can change who is in turn to pick at any time with ?pick <freq number>, which can be useful if somebody leaves. To remove a player's picked status pm them with /?resetpick. When picking is finished, you can disable captains from picking people with a simple ?pick. Any new players that come in will be able to go on any frequency they want, but picked players will be restricted to the team they were picked to until you /?resetpick them or ?resetpick the entire arena. This is all explained in the command help entries as well.
Copy hs_picker.py to your asss/bin folder
Put the following in your default player groupdef:
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum