MegaMud: Setting / Evaluating variables?

Anything goes.
Post Reply
User avatar
rytz
Posts: 91
Joined: Tue Sep 17, 2013 12:53 pm
Location: USA
Contact:

MegaMud: Setting / Evaluating variables?

Post by rytz »

Hi:

Does anyone know if there is a way to set and evaluate a variable in MegaMud? I'm trying to do specific message responses based on a specific state / flag / variable. The only type of variable stuff I've found are the substitute variables which don't really help for what I'm trying to do. Guessing this isn't possible.

Thoughts?


cuckoorules
Posts: 88
Joined: Fri Mar 30, 2012 9:38 pm

Re: MegaMud: Setting / Evaluating variables?

Post by cuckoorules »

The best thing I have found is I believe the same thing you are referring to...

example:

Message: {1} telepaths: @do slap {2}
Response: slap {2}^M/{1} Done.

If there is anything better than this I'd love to hear about it also, if not maybe someone will find this example useful.


User avatar
rytz
Posts: 91
Joined: Tue Sep 17, 2013 12:53 pm
Location: USA
Contact:

Re: MegaMud: Setting / Evaluating variables?

Post by rytz »

Yeah those could be handy but I was trying to actually set a variable at some point to whatever I want so that I could evaluate that same variable later (as a flag) to do something.

Don't think it's possible to do this in MegaMud.


Post Reply