$remtok
alias remnicks {
var %i = 1
while ($gettok(%LocalNicks,%i,44) != $null) {
var %t = $v1
if ($istok(%GlobalNicks,%t,44)) {
set %GlobalNicks $remtok(%GlobalNicks,%t,1,44)
inc %i
}
}
}
/set -s %GlobalNicks nick1,nick2,nick3,nick4,nick5,nick6,nick7,nick8,nick9,nick10
/set -s %LocalNicks nick1,nick2,nick4,nick5,nick7
/remnicks
//echo -a %GlobalNicks