Skip to content
MSN Addons

Spec Kicker due to recent MSN changes.

A TG007 community discussion started by Mail.

Discussion 14 posts
Page 1 of 1
Open
Topic #6717 · 14 published posts · 2,986 views

It appears MSN decided to make a change so specs could join all rooms without being kicked. I am aware Dave has one that works for GuarDDog, but I made this one so that it will work for all scripts. It appears to work just fine and kicks as quick as a sockwrite if you ask me. Let me know if there are any bugs to be worked out.

;;;;;;Spec Kicker by Mail;;;;;; 
menu channel { 
 Spec Kicker ( $+ $group(#spec) $+ ) 
 .$iif($group(#spec) == on,$style(2),$style(0)) On: .enable #time | echo -a 0,12No Spec kick $+ 0,94 On 
 .$iif($group(#spec) == off,$style(2),$style(0)) Off: .disable #time | echo -a 0,12No Spec kick $+ 0,4 Off 
} 
#spec on 
on @*:JOIN:#: { 
 if ($nick == $me) || ($nick isop $chan) { halt } 
 hadd -m Spec Nick $nick 
 hadd -m Spec Address $address 
 hadd -m Spec Chan $chan 
 ctcp $hget(Spec,Nick) TIME  
 if ($hget(Spec)) { timer.undo 1 15 hfree Spec } 
} 
on @*:KICK:#: { 
 if ($hget(Spec)) { 
   access # add deny $hget(Spec,Address) 60 
 } 
} 
raw 908:*:{  
 kick $hget(Spec,Chan) $hget(Spec,Nick) -=[Subscribers Only]=- 
}  
#spec end 

 

"Diplomacy is the art of saying 'Nice doggie' until you can find a rock".-Will Rogers

not sure what you mean.. mine still works :huh:

The one I was using used to check the following line to see if a spec or not, and kicked quickly upon joining using a sockwrite. MSN seems to have changed the format to take out the O on the end of a spectators information upon joining a room.

 

H,U,RXO

 

Now this is what you get returned if a spectator joins using the old method.

 

H,U,RX

 

Without the last character there is nothing for that older code to do but just sit there. At least with the one I just posted, It will kick the spectators almost as quick as the old sockwrite method I was using.

 

"Diplomacy is the art of saying 'Nice doggie' until you can find a rock".-Will Rogers

hmm weird...

 

 

msn.server.1: :٭«Кѕшту»٭!A579B0F32ED0928D@GateKeeperPassport JOIN H,U,RXO :%#ChatTampaBay

msn.server.1: :tk2chatchata03 913 Zantetsuken %#ChatTampaBay :No access

 

 

lil bit ago ^^

Isnt what I am getting. I used to get that return. Now I dont. No idea what MSN has done now lol, but the one I posted is effective as well.

 

"Diplomacy is the art of saying 'Nice doggie' until you can find a rock".-Will Rogers

spec kick..

 

 if ($2 = JOIN) {
   if ($regex($3,/O$/g)) { sockwrite -n $sockname kick $mid($4,2) $right($gettok($1,1,33),-1) Spec?? }
 }

 

no useless/annoying ping required..

that is provided the connection is properly written to support that.

Well Entox|cated i dono why you pasted an sockread with out an proper connection support ?

 

 

There is nothing so absurd but some philosopher has said it

Add it to the rooms socket an edited it if needed lol

simple cryton, i posted it so people could use it, doesn't take too much to figure out where it goes seeming as though i put

 

"if ($2 = JOIN) {"

 

what connection support is there needed ? it's obvious it goes in the channel socket.

What they mean, the connection needs to support IRCSERV8 to see the extra 0 or B beside someone name.

Custom Computer

AMD Athlon 64 x2 Dual Core 5200+

Asus M2N-SLI MOB

2GB DDR2 @ 800mhz

160GB Hard Drive

NVidia GeForce 8400GS 256

yeah, but most connections are using ircvers8 or 9 now and it aint hard to change them over ..

Thats why IRCVERS7 was updated to 8 and 9 to handle multi-stuff like that. It's really not to hard to change over.

I like the eventshandling in ircvers7. :)

Pomperom