mIRC Home    About    Download    Register    News    Help

Print Thread
User Delete #169479 23/01/07 07:57 PM
Joined: Oct 2006
Posts: 68
B
BuTLeR Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 68
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


At Your Service.
Re: User Delete [Re: BuTLeR] #169489 23/01/07 10:00 PM
Joined: Dec 2002
Posts: 1,527
L
landonsandor Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,527
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


Those who fail history are doomed to repeat it
Re: User Delete [Re: BuTLeR] #169502 24/01/07 03:20 AM
Joined: Oct 2006
Posts: 342
L
learn3r Offline
Fjord artisan
Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
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
  }
}


learn learn learn
Re: User Delete [Re: learn3r] #169585 25/01/07 07:14 PM
Joined: Oct 2006
Posts: 68
B
BuTLeR Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 68
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?

Last edited by BuTLeR; 25/01/07 09:21 PM.

At Your Service.
Re: User Delete [Re: learn3r] #169679 26/01/07 09:54 PM
Joined: Oct 2006
Posts: 68
B
BuTLeR Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 68
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


At Your Service.
Re: User Delete [Re: BuTLeR] #169680 26/01/07 09:56 PM
Joined: Jan 2007
Posts: 280
DuXxXieJ Offline
Fjord artisan
Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
Not every snippet works... it's weird. :P


Squee whenever a squee squee's. Squee whenever a squee does not squee.
Re: User Delete [Re: BuTLeR] #169681 26/01/07 10:00 PM
Joined: Oct 2006
Posts: 68
B
BuTLeR Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 68
well can any one plz help me out make a new one or send me to a url that might help me? confused


At Your Service.
Re: User Delete [Re: BuTLeR] #169682 26/01/07 10:06 PM
Joined: Jan 2007
Posts: 280
DuXxXieJ Offline
Fjord artisan
Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
I'm asking that to... But no confused body is reply me... in my topic VOP! confused crazy


Squee whenever a squee squee's. Squee whenever a squee does not squee.