RMS syntax support for Notepad++ (UDL)

So I wrote a guide on Steam on syntax colouring for Random Map Scripting for Notepad++, the scripting language to write random maps on Age of Empires. Essentially Notepad++ supports language syntax support, allowing you to make syntax easier on the eye.

So you’re writing a random map script, using standard default Notepad (that comes with Windows), it would look like this:

With Notepad++ and syntax colouring (User Defined Language Files) enabled, it will look like this:

So you get the drift, basically giving you a clearer visual on your code and possibly preventing errors in them as well.

You can see the guide here:

Batch file – How to simply get yesterdays date (or any date) from the current computer date

Batch files are a nice and simple way on Windows to create one click solutions for tasks that you do on a regular basis. In my case, I wanted to find a quick and simple way to create a file I create on a daily basis and add the current date on it when I create it at the same time, of course as quick as possible.

I have a master file I want to copy it from, so with that I do:

COPY “C:\Users\Savas\Desktop\Testfolder\masterfile.txt” /y
ren “masterfile.txt” “File1 – %date:/=.%.txt”

There’s obviously many ways to do this above so you can choose your way suited for you.. The result will basically be creating a file in the same folder as the .BAT file I created, it will name the file “File1 – date.txt” Because my computer date is set to 27/04/2015 standard (you can find this out by simply doing “echo %date%” and the result should tell you your date format. Simple!

Now what about yesterdays date, as far as I can find, there doesn’t seem to be a simple one line way to just do yesterday date.. So we have to set some variables and have the batch file get the date in DD format then minus off one day and then join the date back together.

set yyyy=%date:~6,4%
set mm=%date:~3,2%
set dd=%date:~0,2%

@set b=1
@set /a c=%dd%-%b%

COPY “C:\Users\Savas\Desktop\Testfolder\testfile.txt” /y
ren “testfile.txt” “File 2 – %c%.%mm%.%yyyy%.txt”

The %dd% takes the date and then takes off all, but the DD format. So instead of having 27/04/2015, we end up with just 27. Then “@set /a c=%dd%%b%” line simply takes the number 27 and minuses the number in the “@set b=1” variable, and in this case it’s “1” so we end up with the result in %c% declaration. Put the month and year and we have the date for yesterday!

Of course if you’re using these batch files on separate systems and these systems have different date formats, you’re going to reach some minor issues and that means you’ll need to be more specific with your date formatting. In my case, 6,4% takes a sub string, starting at position 8, and keeping 4, which is 6,4.


In my case, I don’t have this issue, I don’t need my batch file to be some complicated and long winded method to pull the date and when I create my file, I will see if the date is wrong immediately. I hope this helped.

The Phoenix Legion

So this project started around Jan 24, 2013. A community based gaming website, mostly focused on the Steam game Chivalry: Medieval Warfare and the likes.The_Phoenix_Legion_-_News_-_2015-11-25_11.20.41 It may look like a full CMS (Content Management System), but it’s not – it is pretty much custom and in a sense integrated into the phpBB3 message board for obvious necessity reasons. The news feed, the roster page and some of its other pages are connected to allow its users to gain access on the content available and also moderate it based on the changing statuses, so basically a dynamic roster page, a news feed connected to the message board. So no need a web-master or administrator to make those changes needed.

You can check the website out here – http://tplclan.eu/




Have to say this holds a certain place in my heart, this project was started as far back as 8th Aug, 2010, but goes even further back in terms of when the community began. It started off due to certain requisites of its community and moulded from there. Over the years, a few different designs. The game seems to be dead and the community has dried out. The news feed dynamically retrieves content from the message board integrated into the web design as a whole. The roster page is custom built with it pulling the users based on the phpBB3 forums group management system. All allowing complete access without the need for a web-master or administrator.


You can check out the Speeders gaming community over at – http://speedersclan.org/

A snapshot of the achieved page, dating back to 5th Sep, 2011:



Macro Recorder

There’s a program called Macro Recorder by Jitbit Software, it pretty much does what it’s called and I can’t say I’ve fully tried all macro recorders out there, but this seems to be nicely done, not abandoned and not very expensive – relative to the others I found which had one of these flaws.

What it does is it allows you to record keyboard strokes and mouse movements (also clicks/presses). If you have a repetitive task that you do not wish to waste time and effort doing over and over again, also wearing out your keyboard or mouse, that’s when a macro program comes into play.

Macro Recorder

This is what it looks like, pretty much. It has this user-friendly and basic look, though I wonder if this basic attribute might cause some people to shy away assuming it wouldn’t meet their needs? In terms of needs, I think it still needs more work and the last update was in March so it the development is still present. Which is a good thing! http://www.jitbit.com/macro-recorder/versionhistory/

As for my suggestions. The only way to really improve it is to listen carefully to the requests and suggestions of the users as that’s how you can really improve functionality, because they’re the ones that will come up with every crazy situation possible, in a real environment – in my view at least.

Personally one of the issues I have with it is when you require it to press Shift+F4 or Alt+F4, those two lines ends up being 6 as it wants you to Shift DOWN then press that F4 then Shift UP, same for the Alt and others. Yes that’s exactly what you’d be doing on a keyboard and if you wanted to do that, then that’s perfect, but if we’re trying to keep it as clean and compact as possible, that’s making this a lot longer than it has to be if your macro is getting a bit too long. And that’s the whole objective, to cut out the clutter and get straight to the point.

Also I still have yet to fully understand what the “EXIT LOOP” statement does and how you would use it. The speed settings could be a bit more advanced than the simple slider. For example, giving the choice of going in real time or half fast/slow or x2, etc for me is a bit more understanding.

The company itself seems down to earth with some of what they say, which I like so I will continue to watch this and I get a little excited when I see it update! Jitbit Macro Recorder.

Let the Fire Burn

I recently watched a documentary called ‘Let the Fire Burn‘ (2013). It’s been a while since I sat down to watch a documentary, maybe because I’ve not spotted one that really interested me, either way it was thought provoking. It’s about the “stand-off” that took place in 1985, involving the MOVE organization. “stand-off” would be a very crude way to describe it, because fundamentally it was full blown police brutality, which isn’t a surprise, considering it was very common in the 80’s against black people in America.

Let the Fire Burn

The title is a quote that was said from the police to basically “let the fire burn” to the fire-brigade while the people were in that house. Before the fire, they drop explosives from above, which was basically a bomb that starts the fire, then they allow it to burn resulting in the deaths of the people inside. Near the end the police get interviewed and it’s very obvious they’re lying through their teeth and their meaningless expressions give it all away.

MOVEWhat I want to focus on now isn’t how or why this happened – that’s been analysed enough by the committee, but how this makes for a very clear example of how obvious it shows that the black people are so divided.

Going back 9 years or so,

28 Mar 1976, seven MOVE members were released from jail and went to 309 N 33rd St where a celebration was held. Police were called. A neighbor described the resulting melee as: “I think the police were provoked, but I think they were overreacting. I’ve never seen such brutality.” Six cops were hospitalised and six MOVE members jailed. Life Africa, three-week old son of Janine and Phil Africa, was killed. There are sources documenting that MOVE members showed the dead child’s body to city officials who took no action because officially there was no birth certificate for a “Life Africa”. Covered in pages 11-14 of John Anderson and Hilary Hevenor, Burning Down the House: MOVE and the tragedy of Philadelphia, W.W. Norton & Co., 1987. ISBN: 0-393-02460-1. Naaman Brown (talk) 00:58, 27 July 2010 (UTC) – Wikipedia.

One year later –  nine MOVE members were convicted for the death of a police officer. The ballistics of the shots fired to the police officer that died shows that they come from an angle not possible by the MOVE members that were all in the basement.. The nine members are still in prison, to this day..

The hypocrisy is nobody was jailed for the deaths of the MOVE members and here we have nine still in prison even till this day today for their actions involving that death.. If the police get away with negligence for what happened in 1985. Different laws for different people.

They [MOVE members] all surrendered and all were viciously beaten after. Delbert Africa; under video footage gets brutally beaten just after he surrenders, there is clear footage of this and yet the police get off free with no charges and even one of the police officers in the attack is back involved in the 1985 tragedy.

Nine years after the above events, MOVE relocates and in the documentary one of the members explains a sort of shift in attitude, a sort of bitterness and I’m not surprised. One member is interviewed early in the start, ex-Black Panther member, he explains that instead of revolting, he finds MOVE a more revolutionary way of revolting, invoking “change” through themselves that spreads itself and changes the system through the people rather than forcing the system to change head on (that’s what I at least got from it).

This indeed does sort of contradict how they behave. The bunker seems like it’s trying to fight the system head on.. So does the loud speaker and it all seems very flawed.. From this only; the whole neighbourhood turns against them, being predominately black and yet MOVE were completely alone.. One could assume the “system” finds a way to meet them head on like every other form of revolt.

There’s a scene in which there’s a MOVE member calling people mother fuckers and just talking a lot of rubbish through the loud speaker, which doesn’t quite make sense and I’m not sure if footage is even in context as it might have been a response to provocation.. The testimony is backed up by what looks like another black person primed at being completely naive, but if this is true then John Africa’s master strategy clearly had a fundamental flaw or was not followed, which was failing to stay neutral to the average people.

The Mayor of the city was black, the two news reporters was black and they all pretend as if the world, the decade they live in is free of racial prejudice. I suppose they were just pretending or maybe it’s what allowed them sleep at night, so they could continue their personas. Or if you continue to lie sooner or later a lie becomes true? Maybe that’s it..

Though I think the Mayor was simply duped, as he claimed he ordered for the fires to be put out, but a little bit like dealing with the devil, they toyed with him and aimed the water to the surrounding buildings.

The two black news reporters seem to be in character as if they’re reporting on a live car chase or bank robbery.. It really doesn’t sit right with me.. Sort of reminded me of a black slave watching another slave be beaten to death.

Why were they (the black local community and MOVE members) not standing together side by side? Not for the things they [MOVE] say and do, but for the direct actions by the police for being biased and filled with prejudice. Preferring to wait their turn to be treated badly.

By the end of the documentary, we listen to what seems like the only police officer with a soul in the whole incident and after James Berghaier’s testimony, “nigger lover” was written on his locker, he ends up leaving the police force.. Ruining his career simply because of treating the MOVE people in the house as Humans and the whole point of him being an officer of the law.. This is how far the  local black community were detached from the reality. In the same day and age discrimination was so blatant, they were standing by watching what was obviously racists hiding in sheep’s clothing, as always using common ground as a base for support amongst people, simply because MOVE was not behaving like them to pretend to be accepted by the white Americans.

The result