Skip to content
Buzzen Chat Network

Easier Way To Grab Gates.

A TG007 community discussion started by Psych.

Discussion 29 posts
Page 1 of 2
Open
Topic #8718 · 29 published posts · 7,002 views

Wow, nice new look, good job!

 

I'm guessing people dont post alot in here then? lol

 

Okay, a question....

 

Can you do a multiple WHOIS on a few nics at a time? I'm askin this because my bot likes to get the gates when it joins and check against its blacklist. I'm doing a WHOIS on all the nics one at a time but its a bit server heavy, especially with a full room.

 

I've put a few shortcuts in, like adding the gate for people that speak, for example. I was just curious if there is a quicker way.

doesnt /who work too ?

that should give you the gate and sends a lot less info to you

My code does NOT have bugs. It just develops random features.

Are you saying you want a mass whois?

alias mxwho { 
  var %mxa = 0, %mxb = 0, %mxc = $ticks
  while (%mxa < $chan(0)) {
    inc %mxa
    who $chan(%mxa)
    inc %mxb
  }
  echo -s Who'd: %b Chan(s) $calc(($ticks - %c) / 1000) sec(s)
}

That'll who all the channels your in, and it'll display their info. If you want from a who, the way to gather it would probably be a tokenize. The raw is 352 for the who.

I find it good practice to always WHO [CHANNEL] when I join.

WB Tewl

 

PONY

basically, when you join a room, you are only given the nicks that are in the room. The gates are only given when particular information is present, that is with events such as certain modes, kicks, joins, parts and messages (can't remember if messages are yes/no, been a while). If they do nothing, you wont recieve their gate. Therefore you have to who the channel when you join.

 

It's only required once. After that, you can just use $address or $ial, checking the help file for more details.

Hi, thanks for your replies, I tried doing a who on the channel, It didn't do anything, maybe I got the format wrong. Does that give you gate information on every chatter?

 

Anyway, I'll keep trying.

Whois info comes in on raw 307, 311, 312, 317, 318, 319 & 325.

 

311 has the gate info. You will need to whois everyone in the channel and you can easily flood out if there are too many people in the room.

 

 

on me:*:join:#:{
var %nik = $nick(#,0) | while (%nik) {
whois $nick(#,%nik)
dec %nik
}
}

raw 311:*:{
if (!$window(@who)) window @who
echo 2 @who 1= $1-
echo 3 @who rawmsg $rawmsg
}

 

This will help you test it.

Edited Jul 22, 2007 11:36 PM by Travis

/who is disabled on Buzzen. Only /whois works.

Custom Computer

AMD Athlon 64 x2 Dual Core 5200+

Asus M2N-SLI MOB

2GB DDR2 @ 800mhz

160GB Hard Drive

NVidia GeForce 8400GS 256

LOL, that is crazy. whois each user is worse then using a who on the channel, but ok, what ever floats their boat.

Ok, thanks guys, I was already doing a whois on each user, I was just hoping there was a faster way to grab all the gates. Your right about the flooding thing, buzzen doesnt like you sending too much, too fast. I just spread them out with a timer.

Yes there is a faster, easier way. Too bad Buzzen doesn't allow it.

Okay, I got the gates, now I have another issue, the new server doesnt give profile information with the names, not like the old system did (PX, FX, MY, etc, etc). Does anyone have any idea how to get this information? I am guessing you need to ask for it.

 

Any help would be appreciated, Thanks.

At this time it is BuzzenV2 and you are allowed to /who $chan.

(though you cannot /whois $nick)

 

So, On Join, you should who the $chan to get all the info you want.

 

As for profile info, I'm guessing that was a feature with the msn ocx and since that is no longer used we will have to forget about that way unless they decide to code in the feature. Only other way I would know is to check profiles individually. I don't like that option. Ask this on Buzzen Forums in the FlashBuzzen section. :)

Edited Sep 8, 2007 8:34 PM by Travis

Lemme say sorry ....:P coz im too late for this reply.....

 

I do not use buzzen since they have changed to flash...

as i come to know by ur replies that buzzen do not allow /who

im posting another codes to record user gates which u can use for multi purpose....

like if someone left quickly after spaming or obusing ...or in case of any violation i can put his/her gate easy in banllist........ to get anyone's gate you can use "@find" command.if you dont have codes to read usergate from joint.txt lemme know....

on *:start:{
  window -efk0 @Joins -1 -1 930 180
  echo @Joins -°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°
  echo @Joins -°-°-°-°-°-°User Gates / Nicks Record-°-°-°-°
  echo @Joins -°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°
  echo @Joins -°-°-°-°-°-°-°-°-°By Remix-°-°-°-°-°-°-°-°-°-°
  echo @Joins -°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°
}
on *:JOIN:*: { 
  if ($nick == $me) { .halt }
  write text\join.txt Joined: $nick
  write text\join.txt Gate: *!* $+ $address
  write text\join.txt Room: #
  write text\join.txt Date and time: ( $+ $date(ddd mmm yyyy) $+ ) ( $+ $time(h:nn:ss tt) $+ )
  write text\join.txt -°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°
  window -efk0 @Joins -1 -1 930 180 Onjoin Recordes By Remix
  echo @Joins Joined: $nick
  echo @Joins Gate: *!* $+ $address
  echo @Joins Room: #
  echo @Joins Date and time: ( $+ $date(ddd mmm yyyy) $+ ) ( $+ $time(h:nn:ss tt) $+ )
  echo @Joins -°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°-°
}

 

 

 

once you have joined a room, getting a user's gate is very easy. It simply requiring doing something like $ial($nick).addr or $address($nick,1). But i think what is being asked is when you join a room, and need to get the "gate" of everyone already in the room. Which is what has been addressed already by a few people.

 

If the issue has been resolved, please report back saying so, and which method you preferred, for people who may encounter the same issue at a later stage. Thank you.

Okay, I got the gates, now I have another issue, the new server doesnt give profile information with the names, not like the old system did (PX, FX, MY, etc, etc). Does anyone have any idea how to get this information? I am guessing you need to ask for it.

 

Any help would be appreciated, Thanks.

before joining send /raw CLIENTMODE cd1 that will turn off the standard irc backward compatibility mode for the client connection, which will send you the info you need.

 

Flags:

1. Away/unaway U/A

2. Male/Female/Unsepciefied M/F/U

3. Photo/Non P/N

4. +voice/-voice V/N

5. User/Guide/Sysop/Admin U/G/S/A (not implemented yet)

 

 

 

/raw CLIENTMODE cd1

 

Do I need to do this only once? Or before I join every chat room?

Edited Sep 10, 2007 4:26 PM by Travis
/raw CLIENTMODE cd1

 

Do I need to do this only once? Or before I join every chat room?

Once, preferably after connection is made.

 

Well I did it. It wrecked small havoc on my connection. :P But I worked out bugs with it. Even stripped the profile code from the names list to load the mirc nicklist correctly.

 

So yeah! I did that code, then joined the room and on RAW 353 I got everyones profile code.

 

But now what?

 

People join, I dont see their profile code. I do /names $chan and I dont see the profile code again. I join another room and don't see the profile code on raw 353.

 

Is this just not finished or am I looking at it wrong?