This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

how difficult would this be..

Old posts that have not been replied to for several years.
Locked
l
lunchbox
Voice
Posts: 5
Joined: Mon Dec 13, 2004 3:05 am

how difficult would this be..

Post by lunchbox »

i want to make a script that will do the following..
the script will advertise there is something forming to join (and time remaining to join)
when i user types !join in channel it will put their name in a array (at least i think a array would be the easiest to do)
it will accept !join for a certain period
when time has expired, a botadmin can use a command to pair up the users in the array (and have the bot spit the pairs out to the channel)

i only know *basic* tcl.. but if ya gave me some ideas i could prolly chew out a rough draft :-P thanks!
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

what would be the purpose of that? a matchmaker script?
l
lunchbox
Voice
Posts: 5
Joined: Mon Dec 13, 2004 3:05 am

it would be for..

Post by lunchbox »

it would be a tournament script.. like eight players type !join and then the bot pairs them.. and if a odd number join.. it would have to pair someone vs bye.. i have the script in mirc but as far as converting it to tcl im a bit lost..
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Pairs them based on what algorithm?
Once the game is over, the king and the pawn go back in the same box.
l
lunchbox
Voice
Posts: 5
Joined: Mon Dec 13, 2004 3:05 am

pairing..

Post by lunchbox »

randomly would prolly be the easiest.. i just dont want people to be able to know how the bot pairs and join in a certain order to get a certain pair..
Locked