From: | jn_amiga |
Date: | 29 Apr 2001 at 18:06:21 |
Subject: | AmIRC Arexx Script |
Hello All
Calling all Arexx people! :)
I`ve just got hold of this AmIRC script that replies 2 a certian
person everytime he types a message or privately messaged you,
but the thing is it doesn`t use /msg as you`re reply, as it just
types it anywhere you are, and the way the script works it doesn`t
allow a host mask, I think.
Could someone please have a look at the code and see if they can
modify it so it`ll do what i want?
-START
/* */
trace i
'echo' 'Starting'
/* parse arg cname me . */
host = "m10-mp1-cvx3c.ren.ntl.com" /* example host to reply to */
Cenv = address()
if left(Cenv,6) ~='AMIRC.' then exit
option results
DO forever
getline
if line.dest = "nicky" then DO /* your nick */
cnt = 3
DO l = 1 to 50
if substr(line.prefix,cnt,1) = "@" then l = 50
cnt = cnt + 1
END
if substr(line.prefix,cnt) = host then 'say "Test works"' /* "example reply message */
end
end
-FINISH
Thanks..
-=
JoNty (jonty_amiga@ntlworld.com)
-=
http://www.jontyhomepage.cjb.net
#AmigaIRC DALnet
Quote carefully and read all ADMIN:README mails
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/