Skip to content
MSN

raw 353

A TG007 community discussion started by Warrior124.

Discussion 10 posts
Page 1 of 1
Open
Topic #2342 · 10 published posts · 1,076 views

I'm currently working on a script where I won't have to edit connections in order to do what I would like the script to do

 

What I'm trying to do is make it to where on sockread if $2 is 353, and O is in $1 it will set %icon. [ $+ [ nickname ] ] specz on the nickname it finds the O in. Does anyone know how I can go about this without editing a connection to be able to do this?

unfortunately, the connection has to drop the line with the subscriber/nonsubscriber tags in them before it passes the line to mIRC, cause mIRC won't recognize the line if it's in there. but it also means you can only pick up that info in the connection because thats the only code that sees the info.

 

you could do it with minimal editing to the connection by doing a /signal command in the sockread event for raw 353, something like...

 

if ($2 == 353) {
 .signal raw353 $1-
 ...code in connection...
}

;...

on *:signal:raw353:{
 blah blah commands blah blah blah
}

Edited Dec 25, 2004 7:01 AM by vexation

bfush.PNG

Thanks, Vexation. I'll give it a try.

yea but even with signal commands, it still requires you to edit connections.

Hmm, well is there anyway else to go about it then without using the sockread event?

 

The only other way I can think of for getting it done is by using ping events. However, pings are anoying, and sometimes a person can get kicked when they enter a room where there are no pingings allowed. I also don't like the idea of editing someone elses hard work, lol. Hopefully, someone can come up with something.

Edited Dec 25, 2004 7:46 AM by Warrior124

all ctcp events respond with a 910, you can use dehost with 908. 908 is more accurate in that it actually has the user's nickname in the raw, 910 doesn't. But then the problem with dehost is that if it the script responds to late, and it dehosts them on the last event, well it seems kinda pointless then. However if there were timers where it would do dehost first, and then a second later go through with everything else, it would work.

why don't you send a whisper instead of dehost ?

It would return false readings if someone is using ie for msnchat, and they don't turn their whispers on. MSNChat now automatically turns whispers off until you turn them on whenever you connect using a web browser.

all ctcp events respond with a 910, you can use dehost with 908. 908 is more accurate in that it actually has the user's nickname in the raw, 910 doesn't. But then the problem with dehost is that if it the script responds to late, and it dehosts them on the last event, well it seems kinda pointless then. However if there were timers where it would do dehost first, and then a second later go through with everything else, it would work.

That would only work if you have host status, however. Otherwise it would only return "You donot have permission to perform this command".

but if the whisper is disabled, you will not get a reply from raw 908