scandum / tintin

TinTin++, aka tt++, is an extensible console MUD client.
https://tintin.mudhalla.net
GNU General Public License v3.0
201 stars 56 forks source link

When a undefined class is killed,The event "CLASS CREATED" would trigged #196

Closed Dawn-Xu-helloworld closed 10 months ago

Dawn-Xu-helloworld commented 1 year ago

event {CLASS CREATED} {#show trigged!};#class undefined kill

EVENT {CLASS CREATED} HAS BEEN SET TO {#show trigged!}.

trigged!

scandum commented 1 year ago

Thanks, not a huge issue, but I'll add it to my list of things to fix.

Dawn-Xu-helloworld commented 1 year ago

Thanks, not a huge issue, but I'll add it to my list of things to fix.

class undefined clear

trig

CLASS {undefined} HAS BEEN CLEARED.

It's seems that "class cleared" trig the event CLASS CREATED ,not the class kill. And after the class ”undefined“ "cleared", a empty class named "undefiend" appeared

scandum commented 1 year ago

All of the class commands create a class if it doesn't exist, but probably for the better if it errors out instead.

scandum commented 10 months ago

I think I got this straightened out in the 2.02.40 release, fingers crossed. :)