home *** CD-ROM | disk | FTP | other *** search
- /*
- Simple arexx-script to send InetOlm's through amirc
-
- Install: get and Install InetOLM from Aminet (comm/tcp)
- Make an alias: olm = /rx inetolm %p
-
- USAGE: Select nick in "userlist" then write
- /OLM Message to be sent
- No quotes are needed, everything will be sent to the selected nick.
-
- You can use ' but not " in msgs... (for the moment).
-
- After the message has been sent, you will ne notified about
- what message was sent and to whom.
-
- Programming: ein/end, email me for any reason,
- pontus.sjostrom@mailbox.swipnet.se
-
- Additional programming: steiner/SiS
-
- I take all responsibility for the damage this program may cause! :) NOT!
- */
-
- parse arg msg
- options results
- getselecteduser;nick=result
- userhost nick;nickhost=result
- parse var nickhost user'@'host;host=trim(host)
- getmynick;mynick=result
- address command 'Amitcp:bin/inetolm 'host' "'msg '"'
- 'echo sending: 'msg
- 'echo to: 'nick' ('host')'
- exit
-