mIRC Home    About    Download    Register    News    Help

Print Thread
#205491 24/10/08 08:41 AM
Joined: Dec 2007
Posts: 61
P
PO3 Offline OP
Babel fish
OP Offline
Babel fish
P
Joined: Dec 2007
Posts: 61
Can anyone see why this code is Lagging and repeating it seft?

It ment to scan the room for information but it taking like a min for it finsh

Code:
raw 353:*: {
  var %looptext $remove($3-,:,',.,@,$chr(37),+)
  var %x $numtok(%looptext,32)
  while (%x > 0) { whois $gettok(%looptext,%x,32) | dec %x }
}


Tahnks

PO3 #205495 24/10/08 12:21 PM
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
How many people in the channel? The server probably has a choke on how many whois requests you can make in such a short time. It probably throttles down your request and sends the whois info bck to you at a safer speed.

You know about /who $chan and watching the raw 32 event for the user info?

Joined: Dec 2007
Posts: 61
P
PO3 Offline OP
Babel fish
OP Offline
Babel fish
P
Joined: Dec 2007
Posts: 61
around 80 people in the one room But it somes times it whois more then once so I know it both the server and my code

no not heard of raw 32 What information can I get from raw 32?

Because 3 information I need is
1 Gate Adress
2 NickName
3 Ip Address

PO3 #205509 24/10/08 05:33 PM
Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
Why don't you just use raw 311 instead?

Joined: Dec 2007
Posts: 61
P
PO3 Offline OP
Babel fish
OP Offline
Babel fish
P
Joined: Dec 2007
Posts: 61
raw 311 don't do it

Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Originally Posted By: DJ_Sol


You know about /who $chan and watching the raw 32 event for the user info?


Typo! Thats RAW 352. Who the channel and watch the 352 event.


raw 352:*:{ echo -s $1- }


Link Copied to Clipboard