--- Reply to a message --- By: kaedric=20 ->: a Mail=20 :>: [amirc] Re: Request Command
> This is something you will need to do with a script or plugin. I > have this capability with AmIRC, and have even released the script > I use to Aminet. Take a look there for CTCP-Master and you should > find what you are looking for. well how do i include this one into ctcp master: how do i say thanks to the sender from the script ? well i like to make it use checkx instaed of unpacking it, if there was vir= us in it, say so to the sender, if no say thanks :-) how to do this ? /*=20 dccdone.amirx $ver: 0.1 (12/12/01) mailto:[EMAIL PROTECTED] DCCDone.amirx =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ARGUMENTS: com successcode nick filename where : successcode is 1 for a successful DCC 0 for failed. com is SEND for Outgoing DCC's or RECEIVE for Incoming DCC's. DESCRIPTION: This script is executed when a DCC is completed/aborted/failed. It may be used to perform automated actions on received files. EXAMPLE: This script will extract lha/lzx archives to RAM: and play wav's and snd's. i have added xadmaster to it :-) */ /* DCCDone.amirx */ options results parse arg com successcode nick filename =20 /*Transfer failed/DCC is incoming - abort*/ if successcode=3D0 | com=3D'SEND' then exit =20 /* Obtain 3 - letter extension */ ext =3D upper(right(strip(filename,'B',' "'),4)) =20 /* ** #?.wav or #?.snd will be played in AmIRC ** #?.lha will be extracted to RAM: ** #?.lzx will be extracted to RAM: */ Select when ext =3D '.WAV' | ext =3D '.SND' then 'PLAYSOUND' filename when ext =3D '.LHA' then address command 'xadunfile from' filename 'dest= =3DRAM:' when ext =3D '.lzx' then address command 'xadunfile from' filename 'dest= =3DRAM:' otherwise end =20 --=20 Benny Pedersen http://xpoint.ldnet.dk/ icq:36248146 =2E..When your opponent is down, kick him. ___________________________________________________________________ AmIRC Mailing List - http://www.vapor.com/amirc/ AmIRC FAQ......: http://faq.vapor.com/amirc/ Listserver Help: mailto:[EMAIL PROTECTED]?Subject=HELP Unsubscribe....: mailto:[EMAIL PROTECTED]?Subject=UNSUBSCRIBE
