mIRC Home    About    Download    Register    News    Help

Print Thread
#140349 24/01/06 09:36 PM
V
Vinniej
Vinniej
V
Hi,

Is there a little vipscript for mirc..?

I need a vip script what will check where a joiner is opped, without joining one of the vip channels...

on *:join:#chan: {
if ($nick isop #chan) { mode $chan +v $nick You're not welcome here! }
else { halt }
}

But that does not works for me..

#140350 24/01/06 10:25 PM
N
NeUtRoN_StaR
NeUtRoN_StaR
N
/help $comchan

it might help if you elaborate a little more

#140351 24/01/06 10:31 PM
V
Vinniej
Vinniej
V
Quote:
/help $comchan

it might help if you elaborate a little more
I checked whole google tbh... Same as help file, but i give it a try.

Edit: I can't get further with that help file, don't know why, but just want a little checker smile

Last edited by Vinniej; 24/01/06 10:39 PM.
#140352 24/01/06 10:36 PM
S
schaefer31
schaefer31
S
If I understood correctly, you will likely need to use RAW 319 to determine what channels PersonX is opped on without actually joining those channels. However this won't exactly work if any of those other channels are private.

#140353 24/01/06 10:41 PM
V
Vinniej
Vinniej
V
Quote:
If I understood correctly, you will likely need to use RAW 319 to determine what channels PersonX is opped on without actually joining those channels. However this won't exactly work if any of those other channels are private.
No, there are scripts (TCL :<) for vips. When I join some channels, I get voice, because I'm voiced in an other channel. But that bot isnt there.

I want to have a script what is doing the same.

#140354 24/01/06 10:49 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
TCL? as in eggdrop?

#140355 24/01/06 10:53 PM
V
Vinniej
Vinniej
V
Quote:
TCL? as in eggdrop?
Yep. But I want the mirc script of it. I'm trying and searchin' for like 2 days now, but I cant find it

#140356 24/01/06 11:31 PM
S
schaefer31
schaefer31
S
Quote:
Quote:
If I understood correctly, you will likely need to use RAW 319 to determine what channels PersonX is opped on without actually joining those channels. However this won't exactly work if any of those other channels are private.
No, there are scripts (TCL :<) for vips. When I join some channels, I get voice, because I'm voiced in an other channel. But that bot isnt there.

I want to have a script what is doing the same.


Ok, then I think my post answered your question in that you need to use the RAW event 319. It returns the list of channels a nick is on and also the @/+ status for each.

#140357 24/01/06 11:42 PM
S
schaefer31
schaefer31
S
Code:
raw 319:*:{
  if (%vipcheck) {
    var %vipchan = @[color:red]#ChannelToCheckForOps[/color]
    if ($istok($3-,%vipchan,32)) { mode %vipopchan +o %vipnick }
  }
  unset %vip*
}

on *:join:[color:red]#chan[/color]: {
  set %vipcheck $true
  set %vipopchan $chan
  set %vipnick $nick
  whois $nick
}

#140358 24/01/06 11:57 PM
V
Vinniej
Vinniej
V
Quote:
Code:
raw 319:*:{
  if (%vipcheck) {
    var %vipchan = @[color:red]#ChannelToCheckForOps[/color]
    if ($istok($3-,%vipchan,32)) { mode %vipopchan +o %vipnick }
  }
  unset %vip*
}

on *:join:[color:red]#chan[/color]: {
  set %vipcheck $true
  set %vipopchan $chan
  set %vipnick $nick
  whois $nick
}
Thanx! It works cool


Link Copied to Clipboard