HDTenEightyP/NetNews huggingface dataset:
From: shevett@pilot.njin.net (Shayde)
Newsgroups: alt.irc.ircii
Subject: If structures and Tides.  Inevitable change.
Date: 16 Oct 92 00:32:31 GMT
Organization: Rutgers Univ., New Brunswick, N.J.

*sigh* - just as I think it'll work... something changes :(

Client: 2.2pre7myc6+

I had a script that was working FINE for ever and ever, using the
following structure to check an internal variable.  I set it earlier
(called 'hush') - I wanna do some functions, based on whether this
variable is set to 'Yes' or 'No'.  Previously, I did it like this:

/^alias bro {
	/if ([$hush]==[YES])
		{	/msg $0 Can't say anything.  Hushed.  ;	
		/assign Ct_Msgs_Sent ${Ct_Msgs_Sent + 1} }
		{	/say $1- 
		/assign Ct_Pub_Sent ${Ct_Pub_Sent + 1} }
}

(I know daemon - i'm still using / statements - so sue me :)

The if structure never runs correctly.  The function always executes the
false condition, no matter what the 'hush' variable is set to.

SOO, could someone tell me the correct syntax for comparing a variable
to another string?  I thought it was:

if ([$varname] == [value])
{ true structure }
{ false structure } 

Thanx for the help!

Dave Shevett - 'Shayde'
shevett@pilot.njin.net
shevett@unipress.com
and points east....
Newsgroups: alt.irc.ircii
From: frechett@spot.Colorado.EDU (-=Runaway Daemon=-)
Subject: Re: HELP!! ircII2.2pre5+4 questions
Organization: University of Colorado, Boulder
Date: Wed, 7 Oct 1992 15:14:30 GMT

In article <1992Oct6.200805.27670@samba.oit.unc.edu> cptully@med.unc.edu writes:
>Hi-
>
>tell with no previous experience).  The best I can for describing funny
>is to say that the man page says it should come up with an upper window
>for output and a lower one line window for commands.  This ISN'T what I
>see!  Instead, I just a continuous scroll in a command window.  Also,

Sounds to me like you've totally ignored your terminal type.  I suspect
that irc thinks you have a dumb terminal.  Or at least it doesn't know
how to control your terminal.  From your unix shell make sure you have
the right terminal type set.  It might be something as simple as
set term = sun
It might be worse depending on how you have  your sun set up.

>if I try to start irc from a menu (rather than from the command line),

Now this really sounds like you're forgetting your terminal.  If you 
start it from a menu how's it supposed to know where you're coming from?
Does 'vi' work from your menus?  Exactly what type of menus are you using?

>Anyway, I'm using a Sun SPARCstation 2 with SunOS 4.1.1 and OW 3.0.
Ah.. that answers that.. I'm not real familiar with OW 3.0 but it 
can run xwindows can't it?  I'd suggest starting an xwindow just
for irc..   set term = xterm or vt100   (vt100 ussually works for me in 
an xterm.. just can't resize).

>Can anybody out there tell me if I'm using a bad release, or at least
>suggest how to make it work properly?
You're not using a bad release.   ircII2.2pre5+4 is the biggest baddest 
client in the ircII2.1 syntax.  (if "", while "".. etc)  It changed
in pre6 for the better but if you're stuck in the old ways, then 
pre5+4 is the client for you.


	ian
From: afj@po.CWRU.Edu (Anne F. Johnson)
Newsgroups: alt.irc.ircii
Subject: question about $ and /ircname
Date: 10 Oct 1992 23:23:56 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: afj@po.CWRU.Edu (Anne F. Johnson)
NNTP-Posting-Host: slc5.ins.cwru.edu


Okay... I know that I should be able to change my name in /who and
/whois commands 'cause I've read the help files telling about it...
various ways that I've read include typing...
/IRCNAME = "Ronald van Loon"; export IRCNAME
/Setenv IRCNAME "Ronald van Loon"
$IRCNAME = 'Crazy Harry'; export IRCNAME

ARGGGGHHHH!!!!
They didn't work... I am not very up on the intracacies of computers and programming and I know absolutely nothing about UNIX but I can follow directions...
I kept getting answers like no var IRCNAME or no command setenv or no
command Ircname until I was going round in circles... I looked at a
different part of the help files and the regular /set command works to
change the var listed for it... I tried changing the var COMMAND_MODE to
ON to see if that made a differnce... It didn't. It just meant I didn't
have ta type a / before my commands... Seeing as how these commands
worked I assume I am typing these commands at the right place in irc...
I really have no idea where else I could type these commands as I don't
think there is a way to get out of the Freenet shell... 
The value of SHELL is set to /bin/sh which if I read the help correctly
means that /IRCNAME should work... Confirming this idea under the /help
IRCII there is a section called ENVIRONMENT_VARIABLES which also talks
about IRCNAME and IRCNICK and a few other var... So I'm wondering what
I'm dong wrong and how to change my name... I am a girl you see and that
sometimes leads to harrassment or unwanted msg even though my nick is
very neuter... I would like to change my ircname to something equally
lacking in gender...  
As far as I can see the irc that I have access to on my personal
computer through Case Western
Reserve University is 2.7.2f and is on the Cleveland Freenet Network
CYGNUS X-1 server... 
 I f there is anyone who can help me and/or needs more information or
just wants to tell me that I am up a creek without a paddle and it is
impossible to set these variables I am going to be watching this bb or
you can e-mail me at afj@po.cwru.edu
Thank y'all... Anne

-- 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@afj@po.cwru.edu@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
..........................................................................
                 Please do not cut along the dotted line

Newsgroups: alt.irc.ircii
From: jefft@chirality.rsa.com (Jeff Thompson)
Subject: scrolling!!!
Organization: RSA Data Security, Inc.
Date: Wed, 14 Oct 1992 00:36:57 GMT


When I type /list, it scrolls off the screen too fast.  How do you deal with this?

- Jeff
Newsgroups: alt.irc.ircii
From: frechett@spot.Colorado.EDU (-=Runaway Daemon=-)
Subject: Re: question about $ and /ircname
Organization: University of Colorado, Boulder
Date: Sun, 11 Oct 1992 04:26:46 GMT

In article <1b7omcINNhlb@usenet.INS.CWRU.Edu> afj@po.CWRU.Edu (Anne F. Johnson) writes:
>various ways that I've read include typing...
>/IRCNAME = "Ronald van Loon"; export IRCNAME
Where did you read this?  Who told you this?  What help pages?
What man pages?

>/Setenv IRCNAME "Ronald van Loon"
You're so close and yet miles and miles away from where you want to be.

>They didn't work... I am not very up on the intracacies of computers and
>programming and I know absolutely nothing about UNIX
Obviously.

>but I can follow directions...
Obviously not.

>worked I assume I am typing these commands at the right place in irc...
These commands are NOT to be typed in irc.  

>The value of SHELL is set to /bin/sh which if I read the help correctly
>means that /IRCNAME should work... Confirming this idea under the /help
You did not read the help correctly.  The setting of environment variables
has nothing to do with irc.  Irc only uses certain variables that were 
set from the shell.


Anyway, the short and simple answer is if you can't access a real unix
shell on freenet, then you are out of luck.  I can certainly understand
your need to change the IRCNAME, but you can't do it from within irc.
All the commands that might allow you to get around this problem in 
very convoluted ways have been disabled on freenet.  Unless you 
can get a real unix account somewhere then there isn't anything
you can do.

If by any chance you do have a real unix shell on freenet, then you can 
type either
IRCNAME="Whatever you want"
export IRCNAME        

Note I did not put any spaces in there as you did either.    If the 
shell is csh or tcsh, you can use

setenv IRCNAME "Whatever you want."

End of story.

	ian
Newsgroups: alt.irc.ircii
From: dougmc@ccwf.cc.utexas.edu (Doug McLaren)
Subject: Re: scrolling!!!
Organization: Doug's House of Disco
Date: Thu, 15 Oct 1992 04:04:57 GMT
X-Posted-From: dopey.cc.utexas.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

In article <1992Oct14.141555.9853@fwi.uva.nl> bosman@fwi.uva.nl (Dr.D) writes:
>dougmc@ccwf.cc.utexas.edu (Doug McLaren) writes:
>>When I type /list, it scrolls off the screen too fast.  How do you deal with this?

Oh come on ... get your attribution right ! :)
-- 
DouG McLareN, dougmc@ccwf.cc.utexas.edu, DemoN on IRC.
ObCuteQuote :
   Immortality -- a fate worse than death.
		-- Edgar A. Shoaff
From: kingsley@hpwrce.mayfield.hp.com (Kingsley Morse)
Date: Wed, 7 Oct 1992 23:32:35 GMT
Subject: Please Help
Organization: HP Western Response Center
Newsgroups: alt.irc.ircii

              Please answer these 9 questions and return.

1.) Do you think equal rights for men and women is generally a good idea?
Yes                  [ ]
Sometimes            [ ]
No                   [ ]
Haven't heard enough [ ]
Other                [ ]

2.) Are you pro choice?
Yes                  [ ]
Sometimes            [ ]
No                   [ ]
Haven't heard enough [ ]
Other                [ ]

3.) Are you in favor of adoption?
Yes                  [ ]
Sometimes            [ ]
No                   [ ]
Haven't heard enough [ ]
Other                [ ]

4.) Do you think men should be allowed to legally terminate their parental
rights and responsibilities before fetal viability?
Yes                  [ ]
Sometimes            [ ]
No                   [ ]
Haven't heard enough [ ]
Other                [ ]

5.) What sex are you?
Male               [ ]
Female             [ ]

6.) How old are you?
Under 18           [ ]
19 to 65           [ ]
Over 65            [ ]

7.) What religion are you?
Protestant         [ ]
Catholic           [ ]
Jewish             [ ]
Other              [ ]

8.) What political party are you affiliated with?
Democratic         [ ]
Republican         [ ]
Other              [ ]

9.) How many years of education have you completed?
Grade School       [ ]
High School        [ ]
College            [ ]
More               [ ]
Newsgroups: alt.irc.ircii
From: cs911275@ariel.yorku.ca (MICHAEL A MACDONALD)
Subject: Re: scrolling!!!
Organization: York University, Toronto, Canada
Date: Thu, 15 Oct 1992 04:43:50 GMT

In article <JEFFT.92Oct13193657@chirality.rsa.com> jefft@chirality.rsa.com (Jeff Thompson) writes:
>
>When I type /list, it scrolls off the screen too fast.  How do you deal with this?
>
>- Jeff

Try doing the following:
/set hold_mode on
Newsgroups: alt.irc.ircii
From: frechett@spot.Colorado.EDU (-=Runaway Daemon=-)
Subject: Re: IRC Server Compilation
Keywords: compilation problem with server 
Organization: University of Colorado, Boulder
Date: Thu, 8 Oct 1992 06:17:19 GMT


Note the name of the newsgroup.   yes.. alt.irc.ircii
'ircii' stands for ircII.  Not be picking nits or anything but what makes you 
post a server related question to a group devoted to irc client coding and 
scripting?

BTW, not a whole lot can be done with the information you provided.
Looks to me like your machine won't let you put something in static 
memory inside a function.  main() is only one such function.  The
implication is that the only way to make something static is to 
make it global.  Not a pleasant prospect.  Probably has something
to do with those weird Convex machines.  Since I don't believe any 
ircds have run on a convex OS in a long time, I suspect that you'll
have to do the porting yourself to get it to work.  Might see if
gcc can do anything with it.  Good luck.  I have to say though that it
wouldn't hurt it all to avoid another server popping up on the net.

	ian
Newsgroups: alt.irc.ircii
From: frechett@spot.Colorado.EDU (-=Runaway Daemon=-)
Subject: Re: IRC Server Compilation
Keywords: compilation problem with server 
Organization: University of Colorado, Boulder
Date: Thu, 8 Oct 1992 06:30:30 GMT


Note the name of the newsgroup.   yes.. alt.irc.ircii
'ircii' stands for ircII.  Not be picking nits or anything but what makes you 
post a server related question to a group devoted to irc client coding and 
scripting?

BTW, not a whole lot can be done with the information you provided.
Looks to me like your machine won't let you put something in static 
memory inside a function.  main() is only one such function.  The
implication is that the only way to make something static is to 
make it global.  Not a pleasant prospect.  Probably has something
to do with those weird Convex machines.  Since I don't believe any 
ircds have run on a convex OS in a long time, I suspect that you'll
have to do the porting yourself to get it to work.  Might see if
gcc can do anything with it.  Good luck.  I have to say though that it
wouldn't hurt it all to avoid another server popping up on the net.

	ian
Newsgroups: alt.irc.ircii
From: spencer@jupiter.sun.csd.unb.ca (Dwight Spencer CSD)
Subject: /on functions
Organization: University of New Brunswick
X-Newsreader: Tin 1.1 PL4
Distribution: global
Date: Thu, 8 Oct 1992 21:42:11 GMT

Hi ... I`ve been trying to write a command that will tell someone outside the channel 
who is in my current channel....
this is what I have tried so far..

/on -msg "* names* *" /redirect $0 /names $C 
and
/on -ctcp "* * names *" /redirect $0 /names $C

neither of which work .. however .. I took out the /redirect $0, and when someone
/msg's or /ctcp 's me with the neccessary format  /msg heartbrkr names  .. it will 
do the /names $C .. and as well with the /on ctcp  with this format ..
/ctcp heartbrkr names   .. will execute /names $C from my account ... 

Does anyone have an idea if and how /redirect will work from within a /on?

Thanks.

-- 
Dwight Ellis Spencer               What's in a .sig?  by any other filename, 
Computing Services Department                           'twould be as sweet.
University of New Brunswick, Fredericton, Canada             
Internet Mail to: <spencer@jupiter.sun.csd.unb.ca  des@unb.ca  t6197j@unb.ca>
From: masdough@ubvmsb.cc.buffalo.edu (Dough the Demented)
Newsgroups: alt.irc.ircii
Subject: vax client
Date: 16 Oct 92 22:02:00 GMT
Organization: University at Buffalo
News-Software: VAX/VMS VNEWS 1.41

One more thing.. I tried to pick up the vax client from coombs.anu.edu.au and
I couldn't go into the pub/irc directory (insufficient priv..)
  Anyone know where else the client is available.

Dough
From: kingsley@hpwrce.mayfield.hp.com (Kingsley Morse)
Newsgroups: alt.irc.ircii
Subject: Re: Please Help
Date: 9 Oct 92 15:32:58 GMT
Organization: HP Western Response Center

Oops! My apologies for posting my previous "Please Help" survey to this
group. It was an honest mistake and won't happen again.

Kingsley
Newsgroups: alt.irc.ircii
From: jnelson@iastate.edu (Jeremy F Nelson)
Subject: Getting the user@host out of the /on join
Organization: Iowa State University, Ames, IA
Date: Sat, 10 Oct 1992 06:26:19 GMT

On the two clients i have used, 2.2pre5 and 2.2pre7, when someone joins a
channel you are already on, it is kind enough to provide you with the 
user@host for that person.

NOW: is there anyway to get this information? it obviously doesnt come up
on /on join *      It would save a bit of code, and the time needed to
wait for the /whois.

Thanks in advance.

hop

-- 
jnelson@iastate.edu
four                Do you think I really _CARE_ if my views 
lines               are or are not those of Iowa State University?
suffice.       New ISU Policy: "doing anything unnice is stictly prohibited."
Newsgroups: alt.irc.ircii
From: dougmc@ccwf.cc.utexas.edu (Doug McLaren)
Subject: Re: Getting the user@host out of the /on join
Organization: Doug's House of Disco
Date: Sun, 11 Oct 1992 17:34:42 GMT
X-Posted-From: dopey.cc.utexas.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

In article <1992Oct11.041150.827@ucsu.Colorado.EDU> frechett@spot.Colorado.EDU (-=Runaway Daemon=-) writes:
>In article <1992Oct10.164900.2123@sol.ctr.columbia.edu> dougmc@ccwf.cc.utexas.edu (Doug McLaren) writes:
>>In article <1992Oct10.062619.23952@news.iastate.edu> jnelson@iastate.edu (Jeremy F Nelson) writes:

>>Basically, what you are probably looking for is something like this ...
>>
>>  on -join "DemoN" /if "$%userhost()=dougmc@ccwf.cc.utexas.edu" /mode $1 +o $0

(This is your basic auto-op based on user@host and nick.  I am *not* saying
that this is the best way to op -- a good op routine will not op anybody
who is already opped, and if it's activated by an /on join statement, it will
wait a little while, to see if this person is opped by somebody else.  This
is not, however, quite this simple ... perhaps in a later post ...)

>Basically what he wants is 
> on ^join * echo *** $0 ($%userhost()) has joined channel $1

>This is compatible with the format of the 2.2pre clients.

up through and including pre5 that is ...
If I recall correctly, pre6 and pre7 demand $userhost() and not $%userhost().
(pre5 I think will use both ...)
That is to be nitpicky ... The format of the 'if' command changed radically
(for the better, I think ...) under pre6 and pre7.  I just haven't gotten
into the habit of coding for pre7 ... I still generally use pre5.


>And to clarify a bit when the server sends the userhost.  Just do 
>
>on ^raw_irc * echo $*

A learning experience in any event ... I once had something set up where
it sent the generic ircII output to one window and the raw_irc stuff to
another ... I forget how I did it, but it was something like ...

   on -raw_irc * /xecho -window raw_irc $*

SOMETHING like this ... I forget the exact syntax ... (and of course the window
raw_irc must already exist.  And if you're going to do this, I suggest having
-- 
DouG McLareN, dougmc@ccwf.cc.utexas.edu, DemoN on IRC.
ObCuteQuote :
   PL/1, "the fatal disease", belongs more to the problem set than to the
solution set.
		-- E. W. Dijkstra
Newsgroups: alt.irc.ircii
From: irsman@iastate.edu (That Ian Guy)
Subject: Re: scrolling!!!
Organization: Iowa State University, Ames, IA
Date: Wed, 14 Oct 1992 04:13:32 GMT

In article <JEFFT.92Oct13193657@chirality.rsa.com> jefft@chirality.rsa.com (Jeff Thompson) writes:
>
>When I type /list, it scrolls off the screen too fast.  How do you deal with this?
>
>- Jeff

On most terminals, ^S pauses and ^Q unpauses....other ways to deal with this
include scrollback if your terminal program supports it.


-- 
        Ian Schmidt: irsman@iastate.edu or aol.com, BITNET: twbv4@isuvax       
=--=-=-=-=-=-=-=-=-=Real Change in '92: Vote Ross Perot!-=-=-=-=-=-=-=-=-=-=-=-
  "I will choose a path that's clear: I will choose free will" - Neil Peart  
   Ask me about the GS<>IRC demo...better yet ask daveh@ccwf.cc.utexas.edu!
From: masdough@ubvmsb.cc.buffalo.edu (Dough the Demented)
Newsgroups: alt.irc.ircii
Subject: userhost..
Date: 16 Oct 92 21:56:00 GMT
Organization: University at Buffalo
News-Software: VAX/VMS VNEWS 1.41

STATS:
------
client: irc 2.1.5g 
server: 2.7.2g.ID.0 (azure.acsu.buffalo.edu)

QUESTION:
---------
I need to pass a command directly to the server. How do i do it? (Without any
intervention from the client.)

Doug Lewis
Newsgroups: alt.irc.ircii
From: dougmc@ccwf.cc.utexas.edu (Doug McLaren)
Subject: Re: Getting the user@host out of the /on join
Organization: Doug's House of Disco
Date: Sat, 10 Oct 1992 16:49:00 GMT
X-Posted-From: dopey.cc.utexas.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

In article <1992Oct10.062619.23952@news.iastate.edu> jnelson@iastate.edu (Jeremy F Nelson) writes:
>On the two clients i have used, 2.2pre5 and 2.2pre7, when someone joins a
>channel you are already on, it is kind enough to provide you with the 
>user@host for that person.
>
>NOW: is there anyway to get this information? it obviously doesnt come up
>on /on join *      It would save a bit of code, and the time needed to
>wait for the /whois.

Dude ... should have asked me this one ! :)

What you want is $%userhost() ... after most /on commands, it's set to the
user@host of the originator of the event that triggered the /on.  I could
go on and on about how it works, and how it's undefined after certain /on's,
but I won't ... basically let me say that it IS set for most things you'd
want to use it for (it ISN'T defined after a /on notify_signon, but ...)

Basically, what you are probably looking for is something like this ...

  on -join "DemoN" /if "$%userhost()=dougmc@ccwf.cc.utexas.edu" /mode $1 +o $0
  (Not that auto-ops aren't overdone ...)
  (This is also for pre5 and before.  pre6 and pre7 the syntax is a little
   different ...)

Let's just say $%userhost() is set by /on msg, /on join, /on mode, /on kick
(if you have it), /on public, /on notice, /on ctcp etc ... 
NOW you know why I haven't felt the need to put some sort of /on ctcp 
security system into my bots ... $%userhost() is so easy to use ...

   DemoN
-- 
DouG McLareN, dougmc@ccwf.cc.utexas.edu, DemoN on IRC.
ObCuteQuote :
   $100 invested at 7% interest for 100 years will become $100,000, at
which time it will be worth absolutely nothing.
		-- Lazarus Long, "Time Enough for Love"
Newsgroups: alt.irc.ircii
From: dougmc@ccwf.cc.utexas.edu (Doug McLaren)
Subject: Re: scrolling!!!
Organization: Doug's House of Disco
Date: Wed, 14 Oct 1992 05:23:17 GMT
X-Posted-From: dopey.cc.utexas.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

In article <Bw3FqL.AyL@news.iastate.edu> irsman@iastate.edu (That Ian Guy) writes:
>In article <JEFFT.92Oct13193657@chirality.rsa.com> jefft@chirality.rsa.com (Jeff Thompson) writes:
>>
>>When I type /list, it scrolls off the screen too fast.  How do you deal with this?
>>
>>- Jeff
>
>On most terminals, ^S pauses and ^Q unpauses....other ways to deal with this
>include scrollback if your terminal program supports it.

Hmmm ... here, if I type ^S, it stops -- in about 30 seconds.  No answer there.

Scrollback ... works like a charm under Telemate ... :)

But how to *really* deal with /list ?

 - Before the fact: 1) Don't do it.
                    2) If you *must* do it, limit it.  I personally like
       to see only channels with a few people, so I type: /list -min 5
       which greatly reduces the flood ... (besides, who cares if
       JizzBot is the only 'person' on #JizzBot ?)
                    
 - After the fact:  1) Walk away, run, hide, go look up prices for high
       speed modems, consider registering that copy of Telemate you have...
                    2) Type /flush ...
                    3) hit ^C a bunch of times.
                    4) disconnect the modem, shut off the power, etc ...
       (#3 & #4 are really appropriate if you have something like a 300 baud
       modem ... :)

Of course, these ideas may only apply to ircII ... if so, so be it ...
-- 
DouG McLareN, dougmc@ccwf.cc.utexas.edu, DemoN on IRC.
ObCuteQuote :
   Don't knock President Fillmore.  He kept us out of Vietnam.
Organization: Sophomore, Music, Carnegie Mellon, Pittsburgh, PA
Newsgroups: alt.irc
Date: Thu,  8 Oct 1992 23:46:09 -0400 
From: Michele Carla Zugschwerdt <mz0w+@andrew.cmu.edu>
Subject: Re: Who is Valkor

Greetings and Salutations All-----

Valkor is just a guy who  uses irc...just like the rest of us...
BTW how do you become a "legend"???
i wanna be one.....*laughs*

Lady Jasmyne......
irl Michele
Newsgroups: alt.irc