Quote:
Quote:
1 thing i need to know , why doess the bot dont leave , when the 1 that request my bot , leave's my channel ?
Code:
on 1:TEXT:!idle*:#Clan-Limburg:{ 
   if ($chan(0) <= 20) {
     join $2 
[color:green]    .timer $+ $chan 1 10 /idle [color:red]$chan[/color] $nick [/color]
  }
} 
alias idle { 
[color:greem]  if (($2 !ison #Clan-Limburg) && ($me ison [color:red]$1[/color])) {  part [color:red]$1[/color] } [/color]
} 

I assume that is where you expected your bot to part the requested channel. In that timer command, $1 is #Clan-Limburg. It also will only check one time, 10 secs after the request.

Maybe you wanted
  • .timer $+ $chan 1 10 /idle [color:red]$2 $nick [/color]
and maybe not just 1 repetition.


thx that is what i'm looking for ,

1 more thing ,
i like a command like !idle #channel , just what i got now , but i like to be the only 1 that can do that
and if i do !part #channel , the bot muss leave, is that possible"?

thx alot



Last edited by Expo; 10/12/04 07:55 AM.