I submitted this a while back, so I\'m not too sure what\'s still in it, and I\'m not sure if this is still the on START event for the addon. But here\'s what I have:
on *:START: {
If (!%XCeptAwayTheme) { set %XCeptAwayTheme 1 }
If (!%xcAWAY.version) { set %xcAWAY.version v1.0 }
If (!$isdir(\" $+ $scriptdir $+ XC\\\")) {
mkdir \" $+ $scriptdir $+ XC\\\"
write \" $+ $scriptdir $+ XC\\XCeptAwayN.txt\"
write \" $+ $scriptdir $+ XC\\XCeptAwayR.txt\"
}
set %mdx.dir $scriptdir $+ XC\\
echo $iif($active = Status Window,-s,-a) $lefttheme 14XCept Away %xcAWAY.version $septheme 15State: Loaded $righttheme
If ($hget(XCeptAwayN,0).item = 0) || (!$hget(XCeptAwayN,0).item) { hmake XCeptAwayN | hload XCeptAwayN XC\\XCeptAwayN.txt }
If ($hget(XCeptAwayR,0).item = 0) || (!$hget(XCeptAwayR,0).item) { hmake XCeptAwayR | hload XCeptAwayR XC\\XCeptAwayR.txt }
}
Notice the last two lines? It\'s trying to load the hash table from a directory that may not exist, depending on whether you unzipped it to your mIRC directory or not.
That may be a problem, lindrian.