mIRC Homepage

Help For Op Control Script

Posted By: Diaenja

Help For Op Control Script - 15/09/09 10:27 PM

i'm write this script but not runing
Code:
on *:join:#:{
  if ( $chan == $1 ) {
    /timeradmin 1 10 /Kontrol $chan
  }
}
alias Kontrol {
  if ( $nick isop $1 ) {
    /msg $1 thx
  }
  else {
    part $1
  }
}

my bot join any channel and anyone give me op in 10 sec
if him dont give op in 10 sec part else none
(sorry for bad english )

Thanks!
Posted By: RoCk

Re: Help For Op Control Script - 15/09/09 10:32 PM


Try this.

Code:

on ME:*:JOIN:#: {
  timeradmin 1 10 Kontrol $chan
}
alias Kontrol {
  if ($me isop $1) {
    msg $1 thx
  }
  else {
    part $1
  }
}


© 2020 mIRC Discussion Forums