Making my own script files... - 14/02/03 05:31 PM
I'm trying to make my script work with its own script files and not the *.ini's. After editing the mirc.ini file to load the popup files, aliases and remotes (*.mage) and running mirc, it hangs and i have to use Alt+Ctrl+del to close it. I don't understand what's wrong with it, so i give you the code:
on 1:START: {
iecho Executing virus-check...
var %a, %v, %x
set %a 1
while ($script(%a)) {
set %v $ifmatch
set %x $nopath(%v)
if ($gettok(%x,2,46) != mage) {
unload -rs %x
iecho Possible virus 4( $+ $+ %x $+ $+ )1 found and unloaded! } } }
Please help! I'm in dispared!
on 1:START: {
iecho Executing virus-check...
var %a, %v, %x
set %a 1
while ($script(%a)) {
set %v $ifmatch
set %x $nopath(%v)
if ($gettok(%x,2,46) != mage) {
unload -rs %x
iecho Possible virus 4( $+ $+ %x $+ $+ )1 found and unloaded! } } }
Please help! I'm in dispared!