From 34b3e45ff8fb58e10ebb30105f65817e7f8a1c63 Mon Sep 17 00:00:00 2001 From: steevLP Date: Fri, 27 Sep 2019 15:16:20 +0200 Subject: [PATCH] Update readme.md --- readme.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index 8e717ee..87db4c8 100644 --- a/readme.md +++ b/readme.md @@ -23,18 +23,18 @@ and this can go on for ever but, this should show the point of a packet ## Events -Something need to happen with your packet and the Event Handler is handling it -The Handler is taking in a **Event Name** and a **Function** for it +Something needs to happen with your packet! The Event Handler is handling it. +The Handler is taking in a **Event Name** and a **Function** for it. -so it should look like this: +So it should look like this: ``` {name:'logout', function() {eventFunction(possible,arguments)}}, ``` -but somewhere your event need to be defined -as default they are stored in *bin/classes/events* +But somewhere your event need to be defined! +As Default they are stored in *bin/classes/events* -and a normal event is build like this +and a normal Event is build like this: ```js event_funcition(){ Console.log('Your code here please');