Code: Select all
Script name: onEqbal_stand
Registered event handers: onEqbal
function onEqbal_stand( onEqbal )
if string.find( pstats, "p" ) >= 1 then
send( "stand" )
end
end
I was then curious what would happen if I had another script item, with an event handler function in it that was called by that same onEqbal handler.
Code: Select all
Script name: onEqbal_test
Registered event handlers: onEqbal
function onEqbal_test( onEqbal )
echo( "oneqbal test script echo" )
end
The first time it happened, there was a windows error message.
This is reproducible. I delete the offending script, restart mudlet, create the script again, and it will crash, once more showing that error message. If I just restart mudlet and run the script again without deleting and recreating, then mudlet simply closes without warning or error message.Microsoft Visual C++ Runtime Library
Runtime Error
Program:
This application has requested the runtime to terminate it in and unusual way. Please contact the applications support team for more information.