mIRC Home    About    Download    Register    News    Help

Print Thread
#113338 03/03/05 04:53 PM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
every time i try to kick i get

no such nick name #channel

i used to use kick # $$1 (nicklist) i was told to tr

Profanity:kick # $$1 $2 $3 $4 $5 $6 $7 $8 $9 $10 Profanity

still no luck

#113339 03/03/05 04:58 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
$$1 is nickname.

$$1 exists, try kick chan $$1 $$2. This will only kick them if $$1 and $$2 has a value.

$$2 don't have a value so therefore wont kick.

That goes for $$2-$$10.

Hope this helps.

Last edited by SladeKraven; 03/03/05 05:10 PM.
#113340 03/03/05 05:39 PM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
nothing else works other then

kick $$1

weird, why isnt # needed

Last edited by state; 03/03/05 05:42 PM.
#113341 03/03/05 05:44 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
That shouldn't work, your not specifying the channel name.

#113342 03/03/05 09:10 PM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
Quote:
That shouldn't work, your not specifying the channel name.

i no, but it does confused

#113343 03/03/05 09:17 PM
Joined: Feb 2005
Posts: 681
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
Do you have a kick alias? try //echo -a $isalias(kick)
That will return $true if there is a kick alias
To find the script file it is in, use //echo -a $isalias(kick).fname

~ Edit ~
Also, you can just try /!kick <chan> <nick>
If that works, you have a kick alias.

Last edited by mIRCManiac; 03/03/05 09:20 PM.
#113344 03/03/05 09:21 PM
Joined: Mar 2005
Posts: 3
H
Self-satisified door
Offline
Self-satisified door
H
Joined: Mar 2005
Posts: 3
you will have to do a loop to kick more than 1 person. /kick isnt like opping 5 people at once. you have to have it kick the 1st then go to the start and kick the 2nd and so on. You also might just make something like /kick # $$1 | /kick # $2 | /kick # $3 and add it to a popup or make it an alias.

#113345 03/03/05 10:09 PM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
Quote:
Do you have a kick alias? try //echo -a $isalias(kick)
That will return $true if there is a kick alias
To find the script file it is in, use //echo -a $isalias(kick).fname

~ Edit ~
Also, you can just try /!kick <chan> <nick>
If that works, you have a kick alias.


thanks, was an alias, all sorted now grin

#113346 03/03/05 10:55 PM
Joined: Nov 2004
Posts: 332
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
i once tryed riting a mass kick i could never get it to work
i dont have it with me anymore but ig uess i will take a crack at it here / now
Code:
/alias mkick {
set %n 1
set %tn $nick(#, 0)
while (%n &lt;= %tn) {
kick $chan $nick(#, %n)
inc %n
}
}

of course this would hit us too and that would be the end of that so
Code:
/alias mkick {
set %n 1
set %tn $nick(#, 0)
while (%n &lt;= %tn) {
set %knick $nick(#, %n)
m.kick
inc %n
}
}

alias m.kick {
if (%knick != $me) { 
kick $chan %knick
}
}


im sure something is wrong but i figured id take a stab
for like a kick who i highlight kick you would probably have to do
menu nicklist {
mass kick {
kick $chan $$1
kick $chan $$2
kick $chan $$3
}
}

Last edited by ricky_knuckles; 03/03/05 11:21 PM.

The Kodokan will move you, one way or another.
#113347 03/03/05 11:26 PM
Joined: Nov 2004
Posts: 332
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
of course you could do a reason
it would be done more or less the same way


The Kodokan will move you, one way or another.
#113348 04/03/05 12:06 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Off the record Ricky isn't insane, he was replying to a post I deleted because it was crap and didn't work efficiently. wink

Code:
alias mkick {
  var %x = $nick($chan,0)
  while (%x) {
    write mkick.txt $nick($chan,%x)
    dec %x
  }
  write -dw $+ "* $+ $me $+ *" mkick.txt
  var %mkick = $lines(mkick.txt)
  while (%mkick) {
    kick $chan $read(mkick.txt,%mkick) $1-
    dec %mkick
  }
  .remove mkick.txt
}


/mkick <Reason>

Try that. Good luck. smile


Link Copied to Clipboard