mIRC Home    About    Download    Register    News    Help

Print Thread
#183564 21/08/07 12:53 AM
Joined: Jul 2007
Posts: 34
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jul 2007
Posts: 34
Is there a way to configure an on text script to, when I type !ignore in a query window, it automatically sends a message saying "I am now ignoring you", and then ignores the user in the query. Is this possible? All help is appreciated greatly!

Joined: Jul 2007
Posts: 19
O
Old Offline
Pikka bird
Offline
Pikka bird
O
Joined: Jul 2007
Posts: 19
If I'm understanding this correctly, you want to be able to open a query with a user, be able to type !ignore which will add the user to your ignore list and then, echo to them that they were ignored.

You can't use an on text event for yourself but, you could add this to your alias (Alt + R -- Alias tab)

Code:
/ignoreuser { ; Specify user after
  ignore $2
  say I am now ignoring you
}


This is just a start and I composed it here in this window. I am sure someone will come by and offer a better solution but, this will point you in the direction you need to look.


http://www.CloudyOneStudios.com
irc.CloudyOneStudios.com:#CloudyOne
Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Code:
on *:input:?:{
  if $1- == !ignore {
    .ignore $active 3
    msg $active "I am now ignoring you"
    close -m $active
    halt
  }
}

Joined: Feb 2007
Posts: 91
S
Babel fish
Offline
Babel fish
S
Joined: Feb 2007
Posts: 91
thats not wh

Joined: Feb 2007
Posts: 91
S
Babel fish
Offline
Babel fish
S
Joined: Feb 2007
Posts: 91
thats not what i need.. i need that it bans user from using only ONE command.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Originally Posted By: spermis
thats not what i need.. i need that it bans user from using only ONE command.


That isn't what was asked for. If only one command should be ignored, you'd have to specify what command that is.


Invision Support
#Invision on irc.irchighway.net
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
What deegee provided is precisely what you asked for in your original post. You made no mention of banning people from using commands. What commands are you referring to? Specifics matter smile

Regards,


Mentality/Chris
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881


Link Copied to Clipboard