Skip to content
MSN

/who another $chan

A TG007 community discussion started by bonTy.

Discussion 24 posts
Page 1 of 2
Open
Topic #7024 · 24 published posts · 2,600 views

Hey guys,

I was looking for a command to /who another $chan and msg the results in the room

lets say there is a room or groups has name Fun so I'd like to say this command

!who Fun

and then it msgs me the results if its possible tomake it work for groupschat and msn paid

 

am using vincula 4.9neo and mIRC 6,16

Thanks in advance!

 

mm i think you will need to be on the same server as the chan you who.. best thing to do is either look at cold stalker and see how its done or edit it so it uses commands.

You can probably use raw 353 .. I know its possible for groups, but, I'm not sure for regular chat.

where can I find cold stalker?

 

Search the downloads section ...

only a swedish code lol for cold stalker didn't find wat am after

Edited Jul 13, 2006 12:34 AM by bonTy

Okay I find the cold stalker code..but seem it doesn't support MSN Groups and honestly I dun know how to edit it so, Maybe the Code writer or anyone can edit it to support MSN Groups,

Thanks in advance!

 

Yeah, that only works for main chats .. heres one for groups:

\*
Code by patheonix
*/
on *:TEXT:!find*:#:{ 
 amsg Searching For $2- Please Wait ... 
 set -u10 %find $2- 
 .enable #whoraw 
 who $2- 
 .timer2 1 10  amsg  Sorry No users with nickname $2- found on server . 
 .timer 1 8 .disable #whoraw 
} 
#whoraw off 
raw 352:*:{ 
 if (%find == $6) { 
   if (. isin $7) { timer2 off 
     amsg  $6 Found in: $remove($2 $+ ,G_,$chr(37),$chr(35)) 
   amsg  Current Status: Room Owner } 
   elseif (@ isin $7) { timer2 off 
     amsg  $6 Found in: $remove($2 $+ ,G_,$chr(37),$chr(35))  
   amsg  Current Status: Room Host } 
   elseif (+ isin $7) { timer2 off 
     amsg  $6 Found in: $remove($2 $+ ,G_,$chr(37),$chr(35)) 
   amsg  Current Status: Room Participant } 
   else { timer2 off 
     amsg  $6 Found in: $remove($2 $+ ,G_,$chr(37),$chr(35)) 
   amsg  Current Status: Room spectator } 
 } 
} 
#whoraw end 

Thanks X-Fusion,

for that code It works fine..I had similar one but this one is better,

but I wanted to who the full room

"!who room" and script should msg me all ppl in that room so I need someone to edit that code to work for a full room not exact person its like we do it from the script itself /who %#roomname it gives you all the ppl there! thats wat I wanted it..hope someone can do it

Thanks in advance!

Edited Jul 13, 2006 5:46 PM by bonTy
I dont think its possible for groups. Or, if there is, the raws might be different then regular groups. Then again, it might not be. I dont do group chats, but, I'll look around.

Hi yes coldstalker works for all server´s... but you need the new coldstalker "ColdaStalk3r v.2" and you need to have

Vincula room Creator to for it to work... when you get it and added it inyour script just type /csu and the coldatlker will popup and just put the group room name in it like %#G_roomname and then "OK" and it will show all in that groupchatt.. and for chat type in %#chatroomname.....

 

GoodLuck!

 

Regards:

Newt.

 

 

It's the version am using and it doesn't work with groups..

Click here to download the updated Cold Stalker

***Note .. You'll need WinRar to download this file. Click here to get Winrar***

Also need the ocxless code. Can be found in TGK's room creator.

Custom Computer

AMD Athlon 64 x2 Dual Core 5200+

Asus M2N-SLI MOB

2GB DDR2 @ 800mhz

160GB Hard Drive

NVidia GeForce 8400GS 256

X-Fusion

thanks so much it works now with groups.

2 more question I would be highly appreciated

1st someone please tell me how to decode the nick names for the found users

2nd if someone able to make it work as a command to show in room

Thanks in advance

 

Molson, its already got the ocxless additions with it.

bonTy, the decoding is already in there. It uses the alias csu.dec. Its a local alias as well, so, it will only work for anything in that loaded script file. You can look through there and get the idea. Look for where raw 353 is, change it from:

      elseif ($left($did(csu,2).text,2) === $chr(37) $+ $chr(35)) {
        if ((!$hget(cstalker,onlyone)) || ($hget(cstalker,onlyone) == 0)) { 
          did -a csu 1 $8 $chr(9) $iif($4 == *,Unknown Room,$4) $chr(9) $iif($10- == :0,MSNChat,$remove($10-,:0)) $chr(9) $replacecs($remove($9,*),H,Unaway,G,Away,+,$chr(184) $+ Voice,.,$chr(184) $+ Owner,@,$chr(184) $+ Host) $chr(9) $replace($7,TK2CHATCHATA01,207.68.167.157,TK2CHATCHATA02,207.68.167.158,TK2CHATCHATA03,207.68.167.159,TK2CHATCHATA04,207.68.167.160,TK2CHATCHATA05,207.68.167.161,TK2CHATCHATA06,207.68.167.162,TK2CHATCHATA07,207.68.167.163,TK2CHATCHATA08,207.68.167.164,TK2CHATCHATA09,207.68.167.165,TK2CHATCHATA10,207.68.167.166,TK2CHATCHATG14,207.68.167.150,TK2CHATCHATG13,207.68.167.149,TK2CHATCHATG12,207.68.167.148,TK2CHATCHATG11,207.68.167.147)
          dialog -t csu $right(:[,-1) $calc($did(csu,1).lines -1) Users Found In $right($replace($did(csu,2).text,\b,$chr(32)),-2) $right(:],-1) $+ - $+ ( cOld Stalk3r v.2 ) $+ - $+ $right(:[,-1) /csu $right(:],-1) 
          did -a csu 16 $calc($did(csu,1).lines -1) 
        }
      }
    }

To:

      elseif ($left($did(csu,2).text,2) === $chr(37) $+ $chr(35)) {
        if ((!$hget(cstalker,onlyone)) || ($hget(cstalker,onlyone) == 0)) { 
          msg $chan $8 $chr(9) $iif($4 == *,Unknown Room,$4) $chr(9) $iif($10- == :0,MSNChat,$remove($10-,:0)) $chr(9) $replacecs($remove($9,*),H,Unaway,G,Away,+,$chr(184) $+ Voice,.,$chr(184) $+ Owner,@,$chr(184) $+ Host) $chr(9) $replace($7,TK2CHATCHATA01,207.68.167.157,TK2CHATCHATA02,207.68.167.158,TK2CHATCHATA03,207.68.167.159,TK2CHATCHATA04,207.68.167.160,TK2CHATCHATA05,207.68.167.161,TK2CHATCHATA06,207.68.167.162,TK2CHATCHATA07,207.68.167.163,TK2CHATCHATA08,207.68.167.164,TK2CHATCHATA09,207.68.167.165,TK2CHATCHATA10,207.68.167.166,TK2CHATCHATG14,207.68.167.150,TK2CHATCHATG13,207.68.167.149,TK2CHATCHATG12,207.68.167.148,TK2CHATCHATG11,207.68.167.147)
          dialog -t csu $right(:[,-1) $calc($did(csu,1).lines -1) Users Found In $right($replace($did(csu,2).text,\b,$chr(32)),-2) $right(:],-1) $+ - $+ ( cOld Stalk3r v.2 ) $+ - $+ $right(:[,-1) /csu $right(:],-1) 
          msg $chan $calc($did(csu,1).lines -1) 
        }
      }
    }

That should work for the room. Try it. If it doesnt work, post here again with what the error message is, and I'll go through it again.

I changed the code you told me about..

And I wrote the room name %#G_roomname

Clicked Stalk now..

I got disconnected and the errors is

* /msg: insufficient parameters (line 364, coldstalker.mrc)

I used The SS alias to slow down the msg and the script got dc as well

but this time it sends the results in the status window

I tried a smaller room

it works but here is wat I also get

» » »bon—ty« is not accepting whispers

» » Whisper Request From Leopard - In %#G_egyptionlobby - at 10:28 15 pm 16/07/2006

» » Leopard is not accepting whispers

I am in 2 rooms egyptionlobby and lebanon-lobby

I use the code from egyptianlobby room to stalk lebanon-lobby and I got the whisper stuff it tries to whisper the nicks in the room am stalkin

Edited Jul 16, 2006 7:34 PM by bonTy

    elseif ($2 == 352) {
      if ($dialog(info) != $null) {
       ;Here
        dialog -t info Detailed Information On : $msn.decode($8)
        did -a info 2 Raw Nick : $8 $crlf $+ Decoded Nick : $msn.decode($8) $crlf $+ GateKeeper : $5 $+ @ $+ $6 $crlf $+ On Server : $7 ( $+ $replace($7,TK2CHATCHATA01,207.68.167.157,TK2CHATCHATA02,207.68.167.158,TK2CHATCHATA03,207.68.167.159,TK2CHATCHATA04,207.68.167.160,TK2CHATCHATA05,207.68.167.161,TK2CHATCHATA06,207.68.167.162,TK2CHATCHATA07,207.68.167.163,TK2CHATCHATA08,207.68.167.164,TK2CHATCHATA09,207.68.167.165,TK2CHATCHATA10,207.68.167.166,TK2CHATCHATG14,207.68.167.150,TK2CHATCHATG13,207.68.167.149,TK2CHATCHATG12,207.68.167.148,TK2CHATCHATG11,207.68.167.147) $+ ) $crlf $+ In Room : $4 $crlf $+ Using : $iif($10- == :0,MSNChat,$remove($10-,:0)) $crlf $+ Status : $replacecs($remove($9,*),H,Unaway,G,Away,+,$chr(184) $+ Voice,.,$chr(184) $+ Owner,@,$chr(184) $+ Host) $crlf $+  
        .halt | .haltdef :) 
      }

 

 

its okay become decoded as X Fusion said $8 but when i double click on the decoded nick to get The details appear empty n da box cant get for deocded nick only for normal nicks so any help about how to make it get decoded one ?! thx 4 all

U don't 've to use

$msn.decode

you can simply use $csu.dec($8) to decode nicks in the list but you still can't get information for decoded nicks!

yea bro but my msn.decode contain more characters so will get more good decode for the nicks but in da end wont get the details for the decoded nick :oops: may be get help from warrior cause he helped me before in nicklist and i am sure he knows well in this stuff :oops:

Edited Jul 18, 2006 1:24 AM by samooh_2003