Speaking of MXP...
Doing a bit of testing I ran into this. The intent is to return the contents of an invalid tag with a specific color (helpful if debugging so don't rag on me Gammon. lol). The problem is that if you REM the 'world.note sTemp' line and un-REM the world.colortell the colortell appears to disable MXP error checking. i.e. even REMing the offending line and puting the regular note line back to normal doesn't fix it. It appears that the sub is simply never called. Adding an aditional 'world.note " "' after the colortell doesn't fix the problem. Going into and back out of the MXP script settings or I assume turning on/off error checking reenables it, but only as long as you also REM the line causing the problem. This may also be caused by the colornote function, but I haven't tested that.
P.S. It might be helpful if you added a link from the MUSHClient forum directly to the built-in script list, since it is a pain trying to look stuff up by going through two other pages to get there.
Doing a bit of testing I ran into this. The intent is to return the contents of an invalid tag with a specific color (helpful if debugging so don't rag on me Gammon. lol). The problem is that if you REM the 'world.note sTemp' line and un-REM the world.colortell the colortell appears to disable MXP error checking. i.e. even REMing the offending line and puting the regular note line back to normal doesn't fix it. It appears that the sub is simply never called. Adding an aditional 'world.note " "' after the colortell doesn't fix the problem. Going into and back out of the MXP script settings or I assume turning on/off error checking reenables it, but only as long as you also REM the line causing the problem. This may also be caused by the colornote function, but I haven't tested that.
sub tests (Name, Num1, Num2, Err)
dim sTest, sTemp
sTest = "MXP element: "
'world.note Err
if InStr(1,Err, sTest,1) = 1 then
sTemp = "<" & right(Err,len(Err)-13)
world.note sTemp
'world.colortell "&h1008000","&h00",sTemp
end if
end subP.S. It might be helpful if you added a link from the MUSHClient forum directly to the built-in script list, since it is a pain trying to look stuff up by going through two other pages to get there.