Added event scripts + sample

take a look if you like it o.o
The reason i put the other one in the manager was because i'd have to get all the events. Wouldn't it spam
The top green bar if i put it in eventscript? (Every script adds a new sub?) the other way around would be possible though

Sent from my iPhone

On 8 jul. 2014, at 09:05, "exec" <notifications@github.com> wrote:

> In src/ChannelServer/Scripting/Scripts/EventScript.cs:
> 
> > +		protected void SetType(MabiEventType type)
> > +		{
> > +			this.Type = type;
> > +		}
> > +
> > +		// Where the magic happens~
> > +		// ------------------------------------------------------------------
> > +
> > +		/// <summary>
> > +		/// Checks if the event should be displayed or not..
> > +		/// </summary>
> > +		/// <param name="character"></param>
> > +		private void OnPlayerLoggedIn(Creature character)
> > +		{
> > +			if (this.Type == MabiEventType.Loud && this.Active)
> > +				Send.Notice(character, NoticeType.MiddleTop, "The " + this.Name + " event is in progress.");
> Couldn't you send this and the other notice from the same spot? That way you only need one subscription. Preferably in the EventScript I guess, to keep the script manager "clean".
> 
> —
> Reply to this email directly or view it on GitHub.