mIRC Home    About    Download    Register    News    Help

Print Thread
#78144 06/04/04 12:55 AM
Joined: Feb 2004
Posts: 16
K
Pikka bird
OP Offline
Pikka bird
K
Joined: Feb 2004
Posts: 16
Hello,
I have the variable called %bantype which i can set the differnt ban type or mask now i would like to add this Varible to this code
/kb1 {
ban -u [ $+ [ $calc($3 * 60) ] ] $1 $2 $4
kick $1 $2 $5- [ $+ $3 $+ m ban]
}
will u plz tell me how can i do that
thanks

#78145 06/04/04 01:08 AM
Joined: Dec 2003
Posts: 261
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2003
Posts: 261
Hi, there. Not sure what you need...
If you need a way to use an alias then: /kb1#channel <nick> <forhowmanyminutes> <bantype> <reason>
If you need a way to use an alias with %bantype, then:
change this ban -u [ $+ [ $calc($3 * 60) ] ] $1 $2 $4
into this: ban -u [ $+ [ $calc($3 * 60) ] ] $1 $2 %bantype
or use this /kb1 #channel <nick> <forhowmanyminutes> %bantype <reason>

Hope that helped!


velicha dusha moja Gospoda

Link Copied to Clipboard