Code: Select all
Event( "NewBuilding", "3" )
{
*command=say %PLAYER% built building 3
*command=grantcash %PLAYER% 400
}
Event( "UseItem", "KudosItem1" )
{
*command=say %PLAYER% used the kudos item
*command=grantkudos %PLAYER% 1
*command=resetpos %PLAYER%
}
i.e.
*say Mit built building 3
*grantcash Mit 400
would be entered - the say message will appear in red for all players and 'Mit' will get an extra 40s. Similar procedure for the other event should someone use the kudos item.
Hopefully should be fairly straightforward to get..
With all the different * commands available i reckon it could allow some useful effects and novel gameplay features.
More event types (other than just 'UseItem' and 'NewBuilding' ) can/will be added.. feel free to pop ideas/requests/questions on this thread as im sure you'll be able to think of some interesting possibilities.
Longer term i'll also look at adding some conditional operations (so bits of script can only be run when certain other conditions have been met) and some persistent variable storage (so for instance, you can have a flag to indicate whether the player has already achieved a particular award).