this will voice servers that match "*Sends:[0/1]*" in their ad.. what i'm really intrested in is this part Sends:[0 or even Sends:[0/ . the other number would really be ilrelavant.... is ther a way i can have a variable to replace that second number like sends:[1/?] instead of adding all kinds of binds to it??
I would use a queue instead of sending the mode changes right away. That way, the bot isn't doing mode changes every 2 seconds. Make it so that instead of putserv, you just add the person to a queue. Then, once a minute (bind time, or a timer), give +v to everyone in the add queue, -v to everyone in the remove queue.
is there anyone that can help me with this?? i've got the base (i gugess) but i like the suggestion of having the the servers put into a delayed queue. but i don't know how to do this.......
Here's a hint for one way to do it. Have two global variables, voice_add and voice_remove. Now, in your bind for adding +v, instead of putserv, you have to do this:
search through the voice_remove list, if he's there remove him
add him to the voice_add list
And instead of -v, do this:
search through the voice_add list, if he's there remove him
add him to the voice_remove list
See how it works? One list keeps track of who to give +v to, the other keeps track of who to take away +v from. One person can't be in both lists, so you have to check the other list before adding to either one.
Then you need a timer or a bind time to execute every two minutes (or however long you want). In that proc, you simply do putserv -v for each person in the voice_remove list, and +v for each person in the voice_add list. Then clear both lists.
this is what have now... it's not much different.. cause i'm having trouble finding information on how to have it put the the +v and -v in a list and have it read back an forth accordingly .... also i cant find any info on adding queue lists either...... either i'm not looking in the right places or i'm missing somthing...lol probally both???.
but anyways here it is..: