mIRC Home    About    Download    Register    News    Help

Print Thread
#15806 17/03/03 09:29 PM
Joined: Dec 2002
Posts: 27
J
Jon Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Dec 2002
Posts: 27
help please

on *:join:#: {
if ($nick == test) { /kline $nick 2 your not alow in here}
}

look like the server can't get the IP or some, it not work
but it work ok with
on *:join:#: {
if ($nick == test) { ban # $nick 2 your not alow in here}
}

thanks in advance for help

#15807 17/03/03 09:36 PM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
You cannot k-line unless you are a network/server admin (IRCop or helper)

rather than /kline try using Kick or /kick or what not but I ban before I kick so im sure it doesn't really matter. Try that see what happens...

#15808 17/03/03 09:40 PM
Joined: Dec 2002
Posts: 27
J
Jon Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Dec 2002
Posts: 27
yes i'm a server admin


#15809 17/03/03 09:43 PM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
ok well i dont think as a server admin u can kline just a nick ..... by including $nick ur not even asking mirc to look for an ipaddres try something like $mask($address($nick,1),4) that should give u a mask to kline altho its definatly not the one id suggest u auto klining like that but u get the idea


D3m0nnet.com
#15810 17/03/03 10:21 PM
Joined: Dec 2002
Posts: 27
J
Jon Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Dec 2002
Posts: 27
thanks _D3m0n_
it work good

jon

#15811 17/03/03 10:56 PM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
yw


D3m0nnet.com
#15812 18/03/03 04:30 AM
Joined: Dec 2002
Posts: 191
N
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
have a look at the $address and $gettok identifiers

$gettok($address($nick,2),2,33)


Link Copied to Clipboard