How can I combine these scripts?
#174652
10/04/07 03:53 PM
|
Joined: Apr 2007
Posts: 2
Ifrag
OP
Bowl of petunias
|
OP
Bowl of petunias
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
|
|
|
Re: How can I combine these scripts?
[Re: Ifrag]
#174653
10/04/07 03:54 PM
|
Joined: Dec 2002
Posts: 2,025
RoCk
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,025 |
/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
|
|
|
Re: How can I combine these scripts?
[Re: RoCk]
#174655
10/04/07 04:04 PM
|
Joined: Jan 2007
Posts: 259
Kardafol
Fjord artisan
|
Fjord artisan
Joined: Jan 2007
Posts: 259 |
A better way of doing it:
/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.
|
|
|
Re: How can I combine these scripts?
[Re: Kardafol]
#174656
10/04/07 04:13 PM
|
Joined: Dec 2002
Posts: 2,025
RoCk
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,025 |
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.
|
|
|
Re: How can I combine these scripts?
[Re: Ifrag]
#174661
10/04/07 05:29 PM
|
Joined: Oct 2004
Posts: 8,330
Riamus2
Hoopy frood
|
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
|
|
|
Re: How can I combine these scripts?
[Re: Ifrag]
#174724
11/04/07 07:56 PM
|
Joined: Apr 2007
Posts: 2
Ifrag
OP
Bowl of petunias
|
OP
Bowl of petunias
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
|
|
|
Re: How can I combine these scripts?
[Re: Riamus2]
#174753
12/04/07 09:59 AM
|
Joined: Mar 2003
Posts: 612
billythekid
Fjord artisan
|
Fjord artisan
Joined: Mar 2003
Posts: 612 |
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
|
|
|
Re: How can I combine these scripts?
[Re: billythekid]
#174777
12/04/07 05:49 PM
|
Joined: Oct 2004
Posts: 8,330
Riamus2
Hoopy frood
|
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
|
|
|
Re: How can I combine these scripts?
[Re: Riamus2]
#174779
12/04/07 05:51 PM
|
Joined: Sep 2005
Posts: 2,881
hixxy
Hoopy frood
|
Hoopy frood
Joined: Sep 2005
Posts: 2,881 |
|
|
|
Re: How can I combine these scripts?
[Re: hixxy]
#174780
12/04/07 05:56 PM
|
Joined: Oct 2004
Posts: 8,330
Riamus2
Hoopy frood
|
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
|
|
|
Re: How can I combine these scripts?
[Re: Riamus2]
#174796
12/04/07 10:48 PM
|
Joined: Aug 2004
Posts: 7,252
RusselB
Hoopy frood
|
Hoopy frood
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.
|
|
|
Re: How can I combine these scripts?
[Re: RusselB]
#174809
12/04/07 11:57 PM
|
Joined: Dec 2002
Posts: 2,025
RoCk
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,025 |
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.
|
|
|
Re: How can I combine these scripts?
[Re: RoCk]
#174821
13/04/07 01:41 AM
|
Joined: Jun 2003
Posts: 5,024
Mentality
Hoopy frood
|
Hoopy frood
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
|
|
|
|
|