here silo
hes not only one who can help lol
bit of info for you
hadd -m
-m creates a hash table if it isnt allready made
alias ht {
dialog $iif($dialog(hash.table),-x,-mh hash.table) hash.table
}
dialog hash.table {
title "Nicknames"
size -1 -1 160 48
option dbu
combo 1, 4 3 84 82, size edit drop
button "Add", 2, 91 2 32 12
button "Delete", 3, 124 2 32 12
button "Close", 4, 124 32 32 12, ok cancel
}
On *:Dialog:hash.table:sclick:2:{
hadd -m Nicknames $did($dname,1).text
get.nicks
}
alias get.nicks {
did -r hash.table 1
var %o 1
while (%o <= $hget(Nicknames, 0).item) {
did -a hash.table 1 $hget(Nicknames, %o).item
inc %o
}
}