mIRC Homepage
Posted By: xyzzy toolbar - 17/01/09 01:18 PM
/toolbar -az1 Kick "Kicker" graph\k.ico "/kick # $1 Reason"
Kick No such nick/channel
cant we use aliases or ban/kick stuff on toolbar command or am i doing it wrong confused
Posted By: 5618 Re: toolbar - 17/01/09 02:40 PM
$1 is the name of the button

You want $snick(#,1)
Posted By: xyzzy Re: toolbar - 17/01/09 05:35 PM
ty but it works only on 1 nick
how can i make every selected nicks confused
Posted By: Wims Re: toolbar - 17/01/09 05:48 PM
You want $snicks, but you can't kick multiple nick in one command, you have to use an alias, try this :

/toolbar -az1 Kick "Kicker" graph\k.ico "kick_sel"

and in the remote add (or put it in the alias section) :

alias kick_sel tokenize 44 $snicks | kick # $* Reason
Posted By: 5618 Re: toolbar - 17/01/09 05:57 PM
Originally Posted By: Wims
alias kick_sel tokenize 44 $snicks | kick # $* Reason

I believe he will need to use $snick(#) instead of $snicks ...
Posted By: xyzzy Re: toolbar - 17/01/09 10:41 PM
alias working well ty
with $snick(#) error is
* /ban: no such user nick1,nick2
Posted By: Tomao Re: toolbar - 17/01/09 11:09 PM
Maybe like this:

Code:
alias kick_sel {
var %i $snick($active,0) | :next | if $snick($active,%i) != $me ban -k $active $snick($active,%i) <kick reason> | dec %i | if %i > 0 goto next
}
© mIRC Discussion Forums