mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2003
Posts: 2
A
Aqua Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
A
Joined: Jan 2003
Posts: 2
I have a quiz bot running and the channel has a 50000 score limit. How do I tell it to auto kick and ban when a nick score is greater than 50000.

I can see how it works if we are telling it to kick or ban a nick as that is a text command. Not sure how to but in command it telling it to look at a score

Any one got any suggestions.

Cheers

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
rotf, why are you kicking your addicted players? grin

anyway, the commands would be:
Code:

ban $chan $nick 2
kick $chan $nick You gained too much score.

I'm sorry but I won't be here in the next hours, so if it doesn't help try to post the related part of your code, and maybe someone else will be able to assist you.

Joined: Jan 2003
Posts: 2
A
Aqua Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
A
Joined: Jan 2003
Posts: 2
Thanks for you reply. but I dont think that will work, as I am not banning on nick, which is text field. I am banning if they go over the score of 50000 before the scores are reset each saturday night.


We kick them because the room is for slower and new peeps to quiz.. they can move onto the sister room where it is more competetive.


Joined: Dec 2002
Posts: 395
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2002
Posts: 395
Well, we cen't help you much cause we have no idea what your code looks like wink
The only thing i can tell you, is to add something like " if ([nick's score] >= 50000) { [kick and ban here] } ".
You should know where to add it, and how to calculate nicks's points.


Link Copied to Clipboard