mIRC Home    About    Download    Register    News    Help

Topic Options
#169479 - 23/01/07 07:57 PM User Delete
BuTLeR Offline
Babel fish

Registered: 13/10/06
Posts: 68
Loc: England
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.

Top
#169489 - 23/01/07 10:00 PM Re: User Delete [Re: BuTLeR]
landonsandor Offline
Hoopy frood

Registered: 12/12/02
Posts: 1527
Loc: state of confusion
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

Top
#169502 - 24/01/07 03:20 AM Re: User Delete [Re: BuTLeR]
learn3r Offline
Fjord artisan

Registered: 04/10/06
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

Top
#169585 - 25/01/07 07:14 PM Re: User Delete [Re: learn3r]
BuTLeR Offline
Babel fish

Registered: 13/10/06
Posts: 68
Loc: England
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?


Edited by BuTLeR (25/01/07 09:21 PM)
_________________________
At Your Service.

Top
#169679 - 26/01/07 09:54 PM Re: User Delete [Re: learn3r]
BuTLeR Offline
Babel fish

Registered: 13/10/06
Posts: 68
Loc: England
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.

Top
#169680 - 26/01/07 09:56 PM Re: User Delete [Re: BuTLeR]
DuXxXieJ Offline
Fjord artisan

Registered: 06/01/07
Posts: 280
Not every snippet works... it's weird. :P
_________________________
Squee whenever a squee squee's. Squee whenever a squee does not squee.

Top
#169681 - 26/01/07 10:00 PM Re: User Delete [Re: BuTLeR]
BuTLeR Offline
Babel fish

Registered: 13/10/06
Posts: 68
Loc: England
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.

Top
#169682 - 26/01/07 10:06 PM Re: User Delete [Re: BuTLeR]
DuXxXieJ Offline
Fjord artisan

Registered: 06/01/07
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.

Top