I keep hearing that hash tables are a faster and more efficient way of storing information that does not need to be stored. However my question is whether a key can have multiple values or only one? From what I've seen you can only have one value per key meaning that I would have to make 2+ hash tables.
on *:TEXT:!bet *: {
if ($2 isnum) {
msg # /me To bet type --> !bet boss dinocoins <--
}
else {
hmake $2
hadd $nick $3
msg # $nick has wagered $3 on boss $2.
}
}
So when someone types !bet (boss name) (points) it will make a hash table for that boss. But is it possible to make a key with several people instead of having to make a new hash table for every option?