mIRC Home    About    Download    Register    News    Help

Print Thread
#162679 21/10/06 02:25 PM
Joined: Oct 2006
Posts: 1
L
Mostly harmless
OP Offline
Mostly harmless
L
Joined: Oct 2006
Posts: 1
Hi!

I want a script for idlebot, so simple as possible.
You request it in my channel, you dont have to idle my channel to get it thats all, i dont even want ppl to idle my channel to get the bot in thiers, send and tell me how to start and install the script.

IVE BEEN SEARCHNG FOR LONG, and those i got dosnt work or maybe im doing wrong, send and teach me, please.

Last edited by Legenden; 21/10/06 02:26 PM.
#162680 21/10/06 07:17 PM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
well on the bot you can simply put this script in your remotes in mIRC hold ALT on your keyboard and press R

on *:TEXT:*:#:{
if ($1 == !join) && ($me ison $2) { return }
else { join $2 }
}

Basically in its simplest way of doing it without the user waiting or anything is this method..

the syntax would be someone would type !join #mychan in the channel the bot is in and the bot would join their channel


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
#162681 22/10/06 04:52 AM
Joined: Oct 2006
Posts: 342
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
How bout an anti idle kicker?

#162682 22/10/06 05:15 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Code:
 on @*:join:#:{
$+(timer,idle,$address) 0 10 check.idle $nick $chan
}
alias check.idle {
if $nick($2,$1).idle > 300 {
.kick $1 $2
}
}
 

Checks the person's idle time every 10 seconds, and if it's over 5 minutes (300 seconds) kicks them

Adjust the timings to your preference.


Link Copied to Clipboard