mIRC Homepage
Posted By: BuTLeR User Delete - 23/01/07 07:57 PM
Code:
on Master:TEXT:$add*:#: {
  .auser Admin $2 3 | .notice $nick Added $2 | .notice $2 You have been added to my user list, Type $ $+ cmds for your commands.
}

on Master:TEXT:$deluser*:#:{
  if $ulist($address($2,3)) {
    .ruser $2 3
    .mode $chan -v-o $2 $2 | .notice $nick Deleted 4 $+ $2 from my user list. | .notice $2 4 $+ $nick has deleted you from my user list.
  }
  else {
    .msg $chan 4 $+ $2 is not on my user list, To see who is type 4 $ $+ ulist
  }
}


Ok well it adds fine but when i want it to delete it just keeps saying (nick is not on my user list crazy
Posted By: landonsandor Re: User Delete - 23/01/07 10:00 PM
Is the person currently in the channel when you try to delete it? Im thinking the reason you're getting that message is because the IAL does not have the person's address at the time of deletion
Posted By: learn3r Re: User Delete - 24/01/07 03:20 AM
Code:
on Master:TEXT:$add*:#: {
  .auser Admin $address($2,3)
  .notice $nick Added $2
  .notice $2 You have been added to my user list, Type $ $+ cmds for your commands.
}

on Master:TEXT:$deluser*:#:{
  if ($level($2 == Admin)) {
    .ruser Admin $address($2,3)
    .mode $chan -v-o $2 $2
    .notice $nick Deleted 4 $+ $2 from my user list.
    .notice $2 4 $+ $nick has deleted you from my user list.
  }
  else {
    .msg $chan 4 $+ $2 is not on my user list, To see who is type 4 $ $+ ulist
  }
}
Posted By: BuTLeR Re: User Delete - 25/01/07 07:14 PM
ok well it now says its deleted but when i check the person is still there in userlist crazy confused

oh and is the a way to add the nick and not the address but the address still be assigned to the nick coz when i press $ulist it comes up with the addresses?
Posted By: BuTLeR Re: User Delete - 26/01/07 09:54 PM
iv got a problem ur snippet dnt work for me at all now i have not edited any thing its just dnt work some one plz help !!! confused
Posted By: DuXxXieJ Re: User Delete - 26/01/07 09:56 PM
Not every snippet works... it's weird. :P
Posted By: BuTLeR Re: User Delete - 26/01/07 10:00 PM
well can any one plz help me out make a new one or send me to a url that might help me? confused
Posted By: DuXxXieJ Re: User Delete - 26/01/07 10:06 PM
I'm asking that to... But no confused body is reply me... in my topic VOP! confused crazy
© mIRC Discussion Forums