mIRC Home    About    Download    Register    News    Help

Print Thread
#196709 22/03/08 03:53 AM
Joined: Jun 2004
Posts: 139
N
Ninko Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Jun 2004
Posts: 139
Hi there,
Is it possible for a script to trigger another script? e.g. one script is needed to be run by many other scripts and it seems silly to copy that code into each and every script, plus a pain to edit any changes in this one common script. Is it maybe done with aliases? Sorry i'm rather new to this still, but I'm learning lol.

Thanks


Ninko

Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
Look at /signal command and the ON SIGNAL event.

Joined: Apr 2007
Posts: 228
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Apr 2007
Posts: 228
Maybe an alias?

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
As suggested, look into using aliases. That's what they are there for. smile


Invision Support
#Invision on irc.irchighway.net
Joined: Jun 2004
Posts: 139
N
Ninko Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Jun 2004
Posts: 139
Ok, thanks for the replies. One other question, when using /signal, is there a way to stop it saying * signal '<signalname>' in the server window?

Thanks


Ninko

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Use .signal rather than /signal

Note: this will only work from a scripted version.

The . makes the command silent

Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
Originally Posted By: RusselB
Note: this will only work from a scripted version.

Eh? /.signal blah from an edit box is silent for me..

Joined: Jun 2004
Posts: 139
N
Ninko Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Jun 2004
Posts: 139
Thanks RusselB, that did the trick!


Ninko


Link Copied to Clipboard