BrutusMUD help

MPSETVAR

Level: 61

MPSETVAR [my|zone|global].variable_name=[(type)][contents]

This command is used to set variables used in script from mobprogs.
You can set more than one variable at a time, just separate the set
by space. When you ommit the type, it is assumed to be string.
Currently implemented types are (player), (char), (mob), (string)
and (int). When you need to insert a space in string, put it inside
quotes (""). When you need to insert single quote inside a string,
double it. Character types take visibility into account.
Example:
MPSETVAR my.var1="String with "" inside" zone.var2=(int)13

See also: runscript

 

Back to index

 
 

© Michal Kumžák 2011 | Provozováno na CMS E4E | Mapa webu