I appreciate the assistance, but this is way too complicated.

I have a 5 line text script using the say command (five lines that use the
say command), so flooding isn't really an issue. I want it to go to the
CURRENT (active) window (regardless of whether that window is a channel or
a query window). I do not want prompts and I am not interested in echo, I
just want to send it to the current window automatically.  The window
number command only works on channels, so there appears no way to do this
using Rexx at this time for query windows.  IS there a way to do this now? 
If not, can you put the capability into a future update of Amirc? 

jeh

On Tue, 23 Nov 1999, lanky wrote:

> Howdi there Jeffrey E. Harris..
> 
> >>> Can you change the behavior of the say command, or is there a work
> >>> around to force it to go to the active window?
> >> Hmmm, i don't think so. Think you can only use "say /msg nick" so if you
> >> make a script to send random ascii art or whatever, the only way i can
> >> think is make the syntax in amirc: /ascii nick, then the script will
> >> choose a random ascii pic or whatever from a datafile? Ans send it to
> >> the person. Thats all i can think of. .... And i just woke up :)
> >> Grab the window number using arexx command and output to the same window
> >> number. :)
> > How do I output it to the same window number using the say command (or
> > some other command)?
> 
> In some channel a mass 'Say 'Blah will get you kicked. I use notice myself
> for public/private messages.  Doesnt set off flood scripts as easily.  as
> notices are used for such things usually.
> 
> Local below isa varible to show only locally.
> (Its a switch I use on RexxDosSupport.library ReadArgs())
> 
> Example code:
> 
> IF Local=0 THEN DO
>  IF TO='TO'|TO='' THEN DO
>   "GetChannel"
>   IF Result="" THEN DO
>    TO=rtgetstring(,"Enter the destination to display the output to"||NL||"A
> nick or channel"||NL||"Local is to only your own
> screen",Tags,"_To|_Cancel|_Local",Screen)
>    SELECT
>     WHEN rtresult=0 THEN Local=1
>     WHEN rtresult=2 THEN Call Depart()
>     OTHERWISE NOP
>    End
>   End
>   ELSE DO
>    TO=rtgetstring(,"Enter the destination to display the output to"||NL||"A
> nick or channel"||NL||"Local is to only own screen"||NL||"Leave Empty or
> hit Public to send it"||NL||"publically in the current channel
> window",Tags,"_To|_Public|_Cancel|_Local",Screen)
>    SELECT
>     WHEN rtresult=0 THEN Local=1
>     WHEN rtresult=2 THEN TO=""
>     WHEN rtresult=3 THEN Call Depart()
>     OTHERWISE NOP
>    End
>   End
>  End
> End
> IF Local~=1&TO='' THEN TO=Channel
> 
> Read the file in and do a DO whatever loop containing.
> 
> 
>         IF Local THEN Call cEcho(Bold'� 'Bold||Hst)
>         ELSE DO
>          Call cEcho(Bold'To 'TO||Bold' � 'Bold||Hst)
>          "RAW NOTICE "TO" :"Bold"� "Bold||Hst
>          Call Delay(f*2)
>         End
> 
> 
> Catcha..
> Paul
> -- 
> Member/Programmer for Omniscient International & ACS(K11)
>              Internet User for 12 Years
> <sb>
> I know not with what weapons World War III will be fought, but World
> War IV will be fought with sticks and stones.
> -- Albert Einstein
> <sb>
> 
> __________________________________________________________
> AmIRC Mailing List - Info & Archive: http://www.vapor.com/
> For Listserver Help: <[EMAIL PROTECTED]>, "HELP"
> To Unsubscribe: <[EMAIL PROTECTED]>, "UNSUBSCRIBE"
> 
> 
> 
> 

__________________________________________________________
AmIRC Mailing List - Info & Archive: http://www.vapor.com/
For Listserver Help: <[EMAIL PROTECTED]>, "HELP"
To Unsubscribe: <[EMAIL PROTECTED]>, "UNSUBSCRIBE"

Reply via email to