mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 18
G
Gwion Offline OP
Pikka bird
OP Offline
Pikka bird
G
Joined: Dec 2002
Posts: 18
Hi,

Still new to scripting I have several wordwatch scripts now as well as a flood protection one.
Since it happens quite often that a user triggers such a script (especially the flood protection one) I am now
looking how to determine how often a user has been banned in a certain amount of time, msg the channel and then kick or kick-ban him (e.g. 3 bans in 5 minutes or something like that)


I would also like to ask how to combine scripts (e.g. wordwatch and flood protection script). Just putting both in one file didn't work but maybe I just did something wrong.

Thanks a lot.
Gwion

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
That's true. one script file can't contain two same events. if you have two similar 'On Text' in the same file, only the first one will work.

You'd have to either combine them into one event, or move the second event to an another file (Alt+R - File - New).

If you want to learn more about the way protection scripts work, try these examples. and if you feel you've got it, there's another great tutorial at mircscrits.org, which explains many other aspects along with the way IRC works.

anyway, feel free to post your code here.

Joined: Jan 2003
Posts: 5
B
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
B
Joined: Jan 2003
Posts: 5
I'd prefer you who looks for tutorials&cool snippets to look at www.hdesk.org (official DALnet #helpdesk channel)


/Toby Johansson
Bibble - DALnet - @#FunnyWorld
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
So what exactly are we looking for? Yes weve seen that webpage on many occasions and often turn to it for scripting tutorials depending on the situation. It may or may not be helpful to some. but the tutorial Online suggested works as well.


Link Copied to Clipboard