mIRC Home    About    Download    Register    News    Help

Print Thread
#203236 09/08/08 08:57 PM
Joined: Mar 2008
Posts: 47
N
nok Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Mar 2008
Posts: 47
As could perform an action at the end of command /play, example:

Code:
/play #channel archive.txt 10
* Playing 'archive.txt' to #channel with 10ms delay
* Playback of 'archive.txt' complete
/msg #channel finished text

Last edited by nok; 09/08/08 08:57 PM.
nok #203237 09/08/08 09:11 PM
Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
Use the on playend event :
Originally Posted By: /help on playend
The on PLAYEND event triggers when the /play command has finished playing a file.

Format: on <level>:PLAYEND:<commands>
Example: on 1:PLAYEND:/echo The play command has finished playing $filename
Note: Text files can be played ie. sent to users or channels on IRC by using the /play command.





#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #203240 09/08/08 09:39 PM
Joined: Mar 2008
Posts: 47
N
nok Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Mar 2008
Posts: 47
Thanks again, I had never seen this event crazy


Link Copied to Clipboard