mIRC Home    About    Download    Register    News    Help

Print Thread
#121583 29/05/05 03:57 PM
Joined: Apr 2005
Posts: 31
V
Valo Offline OP
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Apr 2005
Posts: 31
the script is
Code:
 
on !*:JOIN:#popular:{
  if $regex($nick,/^nick\d+$/i) {
    .timer 1 3 if ( # ischan) /msg # $nick $+ :5,0 change nick pleasee
  }
}
 

id like to make if the guy wont change nick in 1 minute i kick him out what i have to update here? frown

#121584 29/05/05 04:51 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Code:
 
on !*:JOIN:#popular:{
  if $regex($nick,/^nick\d+$/i) {
    .timer 1 3  if ( $chan ischan ) msg $chan $nick $+ :5,0 change nick please
    .timer 1 60 if (( $!me isop $chan ) && ( $nick ison $chan )) kick $chan $nick
  }
}

* code is untested

i dont like using # so i used $chan

#121585 30/05/05 11:19 AM
Joined: Apr 2005
Posts: 31
V
Valo Offline OP
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Apr 2005
Posts: 31
thx it worked smile


Link Copied to Clipboard