I am new to the IRC scripting world and I would like a script that will increase and decrease the limit of a channel by how many users are present. I want the limit to stay 5 over the number of users currently in the channel. If you have trouble understanding what I am asking, I will try to explain it using some C++ code since I know how to code in that......
int limit, count;
if((count+5)>limit||(count+5)<limit)
limit=count+5;
Any help would be great