Test:{ var %b = $$?="Enter Reason" | writeini -n ban.ini lban $+ $chan $address($snicks,1) $snicks %b | kick # $snicks %b }
tryin to add selected nicks to my ban ini.. so i can add a few at once if need be, problem is its not adding the address
Test:{ var %b = $$?="Enter Reason" | writeini -n ban.ini lban $+ $chan $address($snicks,1) $snicks %b | kick # $snicks %b }
tryin to add selected nicks to my ban ini.. so i can add a few at once if need be, problem is its not adding the address
$snicks returns all selected nicknames. you need:
alias allsnicks {
var %a = 1
while (%a <= $snick($active,0)) {
writeini ban.ini lban. $+ $active $address($snick($active,%a),1) $snick($active,%a) - reason here
inc %a
}
}
People are like slinkies; they're generally boring until you push them down stairs
thanks angelia.. works perfect ![]()
Sign in to reply or start a new topic where your account has permission.