mIRC Home    About    Download    Register    News    Help

Print Thread
#174804 12/04/07 11:33 PM
Joined: Oct 2004
Posts: 14
C
CakerX Offline OP
Pikka bird
OP Offline
Pikka bird
C
Joined: Oct 2004
Posts: 14
and chance of custom events..

at the even custom, which is triggered by the /trigger command.

aka

on *:custom:<eventname>:<matchtext>:<location>:<commands>

/trigger <eventname> <matchtext>

to associate an event with a window/other object
/trigger -a <location> <eventname> <matchtext>

any chances of this. This would allow scripts to call trigger other scripts. I specificly need this for the encryption script I am working on. I would like for people to be able to write scripts on top of my script. So far its only possible with some tricky coding, and not perfect.

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Use signals.

/signal <name> <data>

on *:signal:<name>:{ echo -s $signal * $1- }

Joined: Oct 2004
Posts: 14
C
CakerX Offline OP
Pikka bird
OP Offline
Pikka bird
C
Joined: Oct 2004
Posts: 14
oh heh. when did they add this, it must be new.

edit: thanks wink

Last edited by CakerX; 12/04/07 11:50 PM.
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
According to versions.txt, it was added in version 6.0.

Joined: Oct 2004
Posts: 14
C
CakerX Offline OP
Pikka bird
OP Offline
Pikka bird
C
Joined: Oct 2004
Posts: 14
Originally Posted By: hixxy
According to versions.txt, it was added in version 6.0.


I'm an idiot, sue me


Link Copied to Clipboard