right, this is somethin i've JUST made and havn't been able to test properly. It was made in a hurry so don't blame me if it goes totally wrong.
on *:action:*:#:{
if (!%ame. [ $+ [ $nick ] ]) {
set -u1 %ame. [ $+ [ $nick ] ] 0
}
if (%amemsg. [ $+ [ $nick ] ] == $1-) {
inc %ame. [ $+ [ $nick ] ]
}
else {
set -u1 %amemsg. [ $+ [ $nick ] ] $1-
}
if ($istok(%amechan. [ $+ [ $nick ] ],$chan,32) == $false) {
set -u1 %amechan. [ $+ [ $nick ] ] %amechan. [ $+ [ $nick ] ] $chan
}
if ($numtok(%amechan. [ $+ [ $nick ] ],32) >= 2) {
kick or whatever u want to do
}
}
Theres probably easier and cleaner ways of doing it, and it will probably trigger is someone does a /me in the same channel twice quickly, but i'll edit it if i perfect it.
Oh, and u have to be in at least 2 of the channels that person is in for it to work.
[Edit] fixed the same msg to same channel causing trigger thing i think
Last edited by Danthemandoo; 10/11/04 05:28 PM.