Page 1 of 1

MegaMud: Setting / Evaluating variables?

Posted: Fri Dec 06, 2013 2:58 am
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?

Re: MegaMud: Setting / Evaluating variables?

Posted: Sun Dec 08, 2013 7:23 pm
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.

Re: MegaMud: Setting / Evaluating variables?

Posted: Sun Dec 08, 2013 10:15 pm
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.