mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
#216733 30/11/09 12:18 AM
Joined: Nov 2009
Posts: 117
gooshie Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Nov 2009
Posts: 117
Nick Colors support userlevels

Would like to set ignore or exclude on a userlevel

Would like to be able to set any of the switches
for the userlevel so that maybe I would choose to
ignore userlevel enemy for everything but channel
messages or exclude userlevel friend from being
ignored for private and notices.

Also, userlevel support in op voice protect could
be usefull.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
mIRC itself doesn't really offer much in the way of such protections. That's what scripts are for. Of course, Khaled may still consider that at some point, but the quickest method is a script and it's not a difficult script depending on what you want it to do. Of course, you'd have to really explain what you want (in the Scripts forum) for someone to have much luck helping you out.


Invision Support
#Invision on irc.irchighway.net
Joined: Nov 2009
Posts: 117
gooshie Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Nov 2009
Posts: 117
This is a feature request as stated by the forum topic.
You could script colors for nicknames yet Khaled saw
fit to add userlevel support to Nick Colors. And in case
you didn't know he added userlevel support to DCC send
under Trusted Users.

I can script about anything I can imagine in msl.
I'm sure I could script an ignore and exclude for every
event for every userlevel but I am suggesting/requesting
userlevel support within the ignore/op/voice/protect of
the address book to aid in further developement and
improvement of the client.

Imagine if you could simply add nicks/mask to user levels
with a scripted popup and then with another set of scripted
popups manage how you wanted to allow or block or op or
voice etc those users by the level you assigned them. The
addition of user level support within the address book would
not replace scripting, it would just simplify and improve
how user levels functioned.

Also, while I am on the subject of the address book, it
would be nice if it had an auto-help-op tab under control
to go along with the user level support. Also maybe better
support for help-op all arround as in events like: on @*:Text
why not a on %*:TEXT etc etc

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
I for one think it's a good idea.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Yes, it is a feature request forum and like I said, Khaled may someday add it. I was only pointing out that it would save you time waiting on this to be added by just using a script. As I said, those types of features aren't usually part of what he puts into mIRC itself. mIRC could make use of a much better protection system as well (and it would probably be more useful that just this one piece to include a complete protection setup), but in all these versions, we haven't seen much of anything along those lines. Just being realistic and for all I knew, you could have very little scripting ability and may not know that it could be done with a script, which is why I mentioned that... to be helpful.

And, yes, argv[0], I think it could be useful as well if it ever were added. I can think of many other features that I'd have more use for, though in all honesty.


Invision Support
#Invision on irc.irchighway.net
Joined: Nov 2009
Posts: 117
gooshie Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Nov 2009
Posts: 117
Yes, I understand, always assume the other person
is uninformed and incapable and act accordingly..
in the future b4 i submit a feature request/suggestion
i will pvt msg you to be sure it is a worthy request
since you seem to speak for Khaled.. and btw, i just
assumed he would wave a magic wand and support would
appear within my client automagically.. if you hadnt
come along to inform me that it could take some time
before it could be implimented i dont know what i would
have done.. thanks so much!

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Is it just me, or was there a bit of sarcasm in your last post?

The only person that speaks for Khaled is Khaled. The rest of us can only speak for ourselves and based upon our experience with mIRC over (in some cases) several years.

Joined: Nov 2009
Posts: 117
gooshie Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Nov 2009
Posts: 117
erm.. you think?

Joined: Jul 2008
Posts: 236
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Jul 2008
Posts: 236
I think it's a great idea! User level filtering for highlights would be cool too :P I'm getting sick of chinglish (chinese-english) scripts highlighting me every time they talk to me ;P

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I always forget that people who post in the Feature Requests forum here rarely want help or suggestions and typically get mad if anyone offers anything other than "Great idea" or something similar in reply. smile


Invision Support
#Invision on irc.irchighway.net
Joined: Nov 2009
Posts: 117
gooshie Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Nov 2009
Posts: 117
I guess you also always forget that you could have
simply clicked on my screen name next to my post
and chosen view post from the context menu.. read
a few of my post.. saw that I could script a little..
could figure out how to create the account in the first
place.. then MAYBE I could actually read well enough
to know that I was in fact posting a feature suggestion
within the feature suggestion section of the forum...
Now I see the emoticons above and I notice many choices
including thumbs up and thumbs down but I see none with
middle finger extended.. where shall I post a feature
request for such an emoticon? Within this very forum or
should I post it at UBBcentral.

Joined: Mar 2009
Posts: 74
K
Babel fish
Offline
Babel fish
K
Joined: Mar 2009
Posts: 74
He never assumed anything about you, he merely stated he didn't know if you had that scripting ability or not, and just in case you didn't, gave you that option so you don't have to wait for such a feature to be implemented. Why should he have to do research on each person he sends a reply to just in case this person might know some detail of what the post content is about? Especially considering that it won't just be you reading the post, but other people, including those who don't have that scripting ability and could benefit from knowing that a script could do the job your request would do, and could go to the scripting area and ask for help. He's just trying to offer help, so give him a break and please quit with the sarcastic and snide remarks. All you had to do was state that you already have that ability, and just wanted support for the feature request in a future release. There was no reason to get upset.

Joined: Nov 2009
Posts: 117
gooshie Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Nov 2009
Posts: 117
KageNoOni
Because if he is assuming that I'm
posting in the wrong section he should
give it some thought first.. he seems
to jump to the conclusion that only he
knows what is going on and then start
speaking for what Khaled may or may
not do.. some typical self appointed
in charge of everything person..
Why should you get involved?.. he and
I can speak for ourselfs just fine..

Btw, I thought I did explain nicely to
him with my first response but he couldn't
let it go and still instead of simply saying
'sorry I should have worded that diff' or
anything else he comes back with "I always
forget.." smiley face crap reply...

Joined: Mar 2009
Posts: 74
K
Babel fish
Offline
Babel fish
K
Joined: Mar 2009
Posts: 74
Originally Posted By: gooshie
KageNoOni
Because if he is assuming that I'm
posting in the wrong section he should
give it some thought first..

Nothing in that post indicated he thought it was in the wrong forum. He merely stated that since it isn't a feature, and scripts are very much capable of the function you are after, you should try getting a script, and suggested you check with the scripting part of the forum.
Originally Posted By: gooshie
he seems
to jump to the conclusion that only he
knows what is going on and then start
speaking for what Khaled may or may
not do.. some typical self appointed
in charge of everything person..

Again, I didn't see anything like that. He said Khaled "may" add that feature in the future, not that he will, or won't. He also stated made a observation about what is usually added. None of what he said seemed pompous or arrogant, he merely said that if Khaled does some day add such support, that a script would be much faster. He even agreed with you that the feature could be useful.
Originally Posted By: gooshie
Why should you get involved?.. he and
I can speak for ourselfs just fine..

Because I really don't like seeing this kind of attitude showing on forums, or anywhere else. I'd rather end the argument then let it continue.
Originally Posted By: gooshie
Btw, I thought I did explain nicely to
him with my first response but he couldn't
let it go and still instead of simply saying
'sorry I should have worded that diff' or
anything else he comes back with "I always
forget.." smiley face crap reply...


Originally Posted By: gooshie
Yes, I understand, always assume the other person
is uninformed and incapable
and act accordingly..
in the future b4 i submit a feature request/suggestion
i will pvt msg
you to be sure it is a worthy request
since you seem to speak for Khaled.. and btw, i just
assumed he would wave a magic wand
and support would
appear within my client automagically.. if you hadnt
come along to inform me
that it could take some time
before it could be implimented i dont know what i would
have done.. thanks so much!

That didn't appear very nice to me, he didn't make that reply about people only wanting to hear praise, until after that post by you. He was trying to help, not attack your suggestion or you.

Joined: Nov 2009
Posts: 117
gooshie Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Nov 2009
Posts: 117
Originally Posted By: KageNoOni
I'd rather end the argument then let it continue.


well than stfu and go away...

Joined: Jul 2008
Posts: 236
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Jul 2008
Posts: 236
Woah, hello.

Fight, fight, fight, ...

Naww. The intent is clear to me, even though the author obfuscated it with confusing examples. This is a stupid thread, and the author likely didn't read the mIRC help file for long. He wants to identify whether the input matches and/or contains characters like $ % | and , probably to prevent his vulnerable script from executing code.

Code:
var %re = /[,|%$]/, %x = $regex(char,$1,%re)
if (%x > 0) {
  echo -s WARNING: $nick just used $+(",$regml(char,1),") in private.
}


edit, something better:
Code:
  var %chars = ,|$%
  var %x = 1
  while ($mid(%chars,%x,1)) {
    if ($regex(char,$1-,/(\ $+ $v1 $+ )/) > 0) {
      echo -s WARNING: $nick just used $+(",$regml(char,1),") in private.
    }
    inc %x
  }


edit again, something else:

Code:
  var %char = ,|$%
  var %x = 1
  while ($mid(%char,%x,1)) {
    if ($v1 isin $1-) {
      echo -s WARNING: $nick just used $+(",$v1,") in private.
    }
    inc %x
  }

Last edited by s00p; 29/12/09 06:24 PM.
Joined: Nov 2009
Posts: 117
gooshie Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Nov 2009
Posts: 117
s00p
Was your last post intended for this thread?

Joined: Jul 2008
Posts: 236
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Jul 2008
Posts: 236
Yes. I attempted to identify what the purpose of 'ischar' is, and came up with a number of non-lazy alternatives. I think he wants something like strcspn() in C. For example, strcspn("asdf$%|,", "|") would return 4, because '$' is found as the 4th char (starting at 0). strcspn("asdf$%|", "|") would return 6, because '|' is found as the 6th char. This would be more useful as a function than an operator, for reasons that are now obvious.

Joined: Nov 2009
Posts: 117
gooshie Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Nov 2009
Posts: 117
s00p
Were your last TWO post intended for this thread?

Joined: Mar 2009
Posts: 74
K
Babel fish
Offline
Babel fish
K
Joined: Mar 2009
Posts: 74
s00p, what gooshie is trying to say (in his less than friendly way), is that there is no ischar discussion in this thread, and I suspect you misclicked. This feature discussion is about adding the ability to ignore a userlevel rather than a simply a user name or user address. The ischar discussion is here. gooshie is the op in this thread, and is asking for a very different feature.

Page 1 of 2 1 2

Link Copied to Clipboard