Code:
on *:join:#:{
  writeini recuta.ini Recrutas $nick Waiting
}
on *:text:!next*:*:{ 
  chanserv voice $chan $readini(recruta.ini.....)
}


Hi guys, i need help in this code... I want to make a waiting code.

I want to do <!next> and the bot will give voice to the first person that joined the channel. Like..

John1 - Joins
John2 - Joins
john3 - Joins

So, the bot ill put them in order of arrive, and when i do !next it ill give voice to John1 because he was the first to arrive at the #.

I started by trying to work with the $ini but i don't know how to make it read the first line only. Like $line(recruta.ini,1) Something like that idk =|
And after he gives voice, he eliminates the $nick from the list, getting John2 to the top of the list.

Last edited by DukeHH; 18/04/11 01:45 PM.