|
Joined: May 2005
Posts: 1
Mostly harmless
|
OP
Mostly harmless
Joined: May 2005
Posts: 1 |
I think a very simple yet very helpful improvement to mIRC would be the ability to change the < & > dividers around nicks
For instance, the current look on mIRC is
<Joe> Hi <Mary> Sup
I would really like to be able to change this to [Joe] Hi [Mary] Sup
or any other symbols. The main reason is sometimes I want to copy and paste an amusing quote from IRC into instant messenger, but anything between < and > does not paste. Thanks in advance if you implement this feature.
|
|
|
|
Joined: Nov 2003
Posts: 257
Fjord artisan
|
Fjord artisan
Joined: Nov 2003
Posts: 257 |
This can be easily scripted, most likely the reason why it's left out of the options.
|
|
|
|
Joined: Dec 2002
Posts: 208
Fjord artisan
|
Fjord artisan
Joined: Dec 2002
Posts: 208 |
One good reason for the option to be built-in is the consecutive-space-losingness of script.
If I knew now what I will know then... maybe things will have been different...
|
|
|
|
Joined: Sep 2003
Posts: 4,230
Hoopy frood
|
Hoopy frood
Joined: Sep 2003
Posts: 4,230 |
Thats easy to fix
$replace(%text,$chr(32),$+($chr(32),))
And since sent text isnt ever that long, the string length limit isnt reached.
|
|
|
|
Joined: Dec 2002
Posts: 208
Fjord artisan
|
Fjord artisan
Joined: Dec 2002
Posts: 208 |
$replace(%text,$chr(32),$+($chr(32),)) That's interesting, but what is %text? I thought we were talking changing the <> around nicks in messages. I suppose it could be done while still preserving spaces for on text events with $rawmsg, but not on input as far as I can tell.
Last edited by Hrung; 11/05/05 04:27 AM.
If I knew now what I will know then... maybe things will have been different...
|
|
|
|
Joined: Mar 2004
Posts: 540
Fjord artisan
|
Fjord artisan
Joined: Mar 2004
Posts: 540 |
I like this idea because yes it can be done with scripts but changing the timestamp can be done with scripts to but thats a option, I like it because its just a nice feature I want to change mine to (Nick) but dont want to script it b/c itll interfear with other on texts I have that halt.
|
|
|
|
Joined: Sep 2003
Posts: 4,230
Hoopy frood
|
Hoopy frood
Joined: Sep 2003
Posts: 4,230 |
That's interesting, but what is %text? I thought we were talking changing the <> around nicks in messages. I suppose it could be done while still preserving spaces for on text events with $rawmsg, but not on input as far as I can tell. Ahhh I see where your comming from now, yes it is a bit of a hassel, if its just channel text wi9th spaces in your trying to capture there are work arounds to get it. I use /debug and pull the string in there, but I believe there is another way, although i havent seen it. It apears alot more difficult if its custom windows, some highspeed timer and using $editbox() (lordy but what a system hog that must be)
|
|
|
|
Joined: Oct 2003
Posts: 3,918
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,918 |
I thought there was a $rawmsg for those who wanted access to the space-preserved data
- argv[0] on EFnet #mIRC - "Life is a pointer to an integer without a cast"
|
|
|
|
Joined: Aug 2004
Posts: 24
Ameglian cow
|
Ameglian cow
Joined: Aug 2004
Posts: 24 |
I think mIRC should go one better and have an in-built theme engine.
|
|
|
|
Joined: Sep 2003
Posts: 4,230
Hoopy frood
|
Hoopy frood
Joined: Sep 2003
Posts: 4,230 |
$rawmsg is inbound text, doesnt exists unfortunitly on outbound text.
|
|
|
|
Joined: Jan 2003
Posts: 56
Babel fish
|
Babel fish
Joined: Jan 2003
Posts: 56 |
You may like to use my Addon Message Extensions as it is done for things like this and it will not loose spaces afaik http://www.mirc.net/projects.php?go=1097394278
Last edited by Ecronika; 15/05/05 07:22 AM.
|
|
|
|
Joined: Jan 2005
Posts: 20
Ameglian cow
|
Ameglian cow
Joined: Jan 2005
Posts: 20 |
It would be interesting to see your definition of easy. Scripting it is anything but easy, just look at the script Ecronica made. Sure just making it [] instead of <> may be easy but then there's checking if show mode is enabled and what color to use if any. I would love to see any beginner at scripting accomplish this on their own.
|
|
|
|
Joined: Dec 2002
Posts: 208
Fjord artisan
|
Fjord artisan
Joined: Dec 2002
Posts: 208 |
Relatively speaking, it is easy. That isn't to say that a complete beginner could do it in 2 mins. But an experienced scripter could probably do it in less. Depending on how flexible you would want it to be, it could be done with as few as 2 /commands. Compare that to, say, socket scripting, which can take over a dozen lines just to download a page from a website, and that's without actually doing anything with the page you retrieved. When it comes to writing full-featured addons, it is not uncommon to run into the hundreds of lines. No, changing the dividers around nicks is relatively easy.
My argument in favor of this feature is that it is difficult to preserve spaces within incoming text, and, to my knowlege, impossible where outgoing text is concerned. Normally, extra spaces are not important, but it would be nice to be able to put the usual two spaces after the . at the end of a sentence, among other things.
Personally, I would prefer to see some special &binvars for raw text be introduced, and switches to /msg, /notice, /echo, perhaps /raw, to allow direct output of &binvars without losing spaces, as I'm sure I could come up with a use for that in other things. But if it comes down to that, or an option for changing <nick> to something else, I would bet that the general opinion (outside of these forums) is in favor of the latter.
If I knew now what I will know then... maybe things will have been different...
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
Well, you can use a non-breaking space... but only some fonts will display it as such.
Also, if I remember correctly, you can also use Ctrl-Enter at the end of the line to send the full spacing. I could be wrong... I can't test this right now because my work doesn't let me connect to any IRC channels... I wish I could bypass that port block... heh.
Invision Support #Invision on irc.irchighway.net
|
|
|
|
Joined: Dec 2002
Posts: 1,544
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,544 |
replied to last posting
personally Ive wanted to see this since we could do it with timestamp and think it should be implemented in mirc itself for the reason of natural progression. now I DONT know how hard it was for K to do it for timestamps, but it shouldnt be hard to do it for nicknames. And yes, I agree that this script IS relatively easy to do, but is also easy to muck up and really fudge things up DISPLAY-WISE
Those who fail history are doomed to repeat it
|
|
|
|
Joined: Jan 2003
Posts: 56
Babel fish
|
Babel fish
Joined: Jan 2003
Posts: 56 |
My argument in favor of this feature is that it is difficult to preserve spaces within incoming text, and, to my knowlege, impossible where outgoing text is concerned. Well i did the same things as with the incoming text and it works in most cases. Not the clean "perfect world" way but i think it is good enough for now. Personally, I would prefer to see some special &binvars for raw text be introduced, and switches to /msg, /notice, /echo, perhaps /raw, to allow direct output of &binvars without losing spaces Me too ... me too ... or any other kind to send such strings to the server 
|
|
|
|
|