mIRC Home    About    Download    Register    News    Help

Print Thread
Identifiers as signal names... #138015 23/12/05 05:00 AM
Joined: Dec 2002
Posts: 580
N
NaquadaServ Offline OP
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
Sorry if it's been requested before...

This works...
Code:
alias setsig { set -u5 %~Signal SIGTEST1 | signal %~Signal }
on *:signal:%~Signal:{ echo -a Signal Name: $signal }

This doesn't, but I wish did... frown
Code:
alias sigtest { return SIGTEST2 }
alias dosig { signal $sigtest }
on *:signal:$sigtest:{ echo -a Signal Name: $signal }


NaquadaBomb
www.mirc-dll.com
Re: Identifiers as signal names... #138016 23/12/05 06:20 AM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Try:
Code:
alias sigtest { return SIGTEST2 }
alias dosig { signal $sigtest }
on *:signal:[color:red]$([/color]$sigtest[color:red])[/color]:{ echo -a Signal Name: $signal }

Re: Identifiers as signal names... #138017 18/01/06 02:28 PM
Joined: Dec 2002
Posts: 580
N
NaquadaServ Offline OP
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
COOL!!! I'm glad I checked up on my older threads...

Thanks


NaquadaBomb
www.mirc-dll.com