i have
on *:start: {
if ($isfile(away.hsh)) {
hmake away 5
hload -o away away.hsh
}
else {
hmake away 5
hadd away $+($date,$time) away
}
if ($isfile(back.hsh)) {
hmake back 5
hload -o back back.hsh
}
else {
hmake back 5
hadd back $+($date,$time) back
}
if ($isfile(suffix.hsh)) {
hmake suffix 5
hload -o suffix suffix.hsh
}
else {
hmake suffix 5
hadd suffix $+($date,$time) away
}
}
on *:exit: {
hsave -o away " $+ $scriptdiraway.hsh"
hfree away
hsave -o back " $+ $scriptdirback.hsh"
hfree back
hsave -o suffix " $+ $scriptdirsuffix.hsh"
hfree suffix
}
on *:load:{
if ($isfile(away.hsh)) {
hmake -s away 5
hload -so away away.hsh
}
else {
hmake -s away 5
hadd -s away $+($date,$time) away
}
if ($isfile(back.hsh)) {
hmake -s back 5
hload -so back back.hsh
}
else {
hmake -s back 5
hadd -s back $+($date,$time) back
}
if ($isfile(suffix.hsh)) {
hmake -s suffix 5
hload -so suffix suffix.hsh
}
else {
hmake -s suffix 5
hadd -s suffix $+($date,$time) away
}
if (%as6cooldown == $null) {
set %as6cooldown 160
}
set %as6awaymessage away
set %as6backmessage back
set %as6awaysuffix away
}
on *:unload:{
away.off
autoaway.off
autoback.off
unset %as6*
remove away.hsh
remove back.hsh
remove suffix.hsh
hfree -s away
hfree -s back
hfree -s suffix
}
when i load the file i get this
* Made hash table 'away' (5)
-
* Added item '30/12/200519:43:48' to hash table 'away'
-
* Made hash table 'back' (5)
-
* Added item '30/12/200519:43:48' to hash table 'back'
-
* Made hash table 'suffix' (5)
-
* Added item '30/12/200519:43:48' to hash table 'suffix'
-
* /hmake: table 'away' exists (line 7, AWAYSC~1.MRC)
-
any idea why i get that last bit about the table already existing