mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2007
Posts: 2
I
Ifrag Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
I
Joined: Apr 2007
Posts: 2
Ok I want to combine these 2 groups of scripts.

The first two I want to combine are (so /a makes both happen)

/a /me Is now away playing CSS
/a /nick Ifrag`CSS

and the second (so /b makes both happen)

/b /me Is back from playing CCS
/b /nick Ifrag

If anyone could get back to me it would be greatly appreciated =0D

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
/a /me Is now away playing CSS | /nick Ifrag`CSS

/b /me Is back from playing CCS | /nick Ifrag

You could assign these to F keys...

F2 me is now away playing CSS | nick Ifrag`CSS
F3 me is back from playing CCS | nick Ifrag

Joined: Jan 2007
Posts: 259
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Jan 2007
Posts: 259
A better way of doing it:
Code:
/a {
 me Is now away playing CSS
 nick Ifrag`CSS
}
/b {
 me Is back from playing CCS 
 nick Ifrag
}


Those who can, cannot. Those who cannot, can.
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
A different way yes, but not necessarily better. I tend to combine a
couple of simple commands to one line in simple little situations like
this rather than having four lines. Just a matter of preference I guess.

I would never combine/pipe in situations like this one .. it just makes it
harder to read and work with imo.

Last edited by RoCk; 10/04/07 04:29 PM.
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Just an explanation for using those... Add them to your Aliases tab in the script editor (Alt-R > Aliases). And you don't need any /'s.


Invision Support
#Invision on irc.irchighway.net
Joined: Apr 2007
Posts: 2
I
Ifrag Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
I
Joined: Apr 2007
Posts: 2
Thankyou very much for your help, they worked very well, I have chose to asign them to the F2 and F3 keys, thanks again

Kind Regards

Ifrag

Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
Originally Posted By: Riamus2
Just an explanation for using those... Add them to your Aliases tab in the script editor (Alt-R > Aliases). And you don't need any /'s.


...or just Alt+A

btk


billythekid
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I thought Alt-A worked as well, but in 2 clients I run (6.21), Alt-A opens the favorites menu instead.


Invision Support
#Invision on irc.irchighway.net
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
It's Alt+D

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Ah. Now I wonder how D is associated with Aliases. Still, it's good to know.


Invision Support
#Invision on irc.irchighway.net
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
If you do Alt+R, then Alt+A, you'll get Aliases

As to how someone would think of Alt+D to get to Aliases, I haven't a clue....we'll probably have to wait for an answer from Khaled in regards to that.

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
According to versions.txt, Alt+D was added in v6.1

105. Added Alt+D shortcut to open Aliases section in script editor,
due to conflicting Alt+A in Favorites menu. The Favorites menu
can however be turned off, in which case Alt+A will revert to
opening Aliases.

Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
To expand on what RoCk said btw, the way to turn it back to the original form is go to View > Favorites and checking Tools Menu rather than Main Menu. Then ALT+A will once again open up the Aliases dialog :-)

Regards,


Mentality/Chris

Link Copied to Clipboard