Author Topic: Script_FakeKillAll: Should be working, but isn't.  (Read 763 times)

First off, I will probably keep this as a private mod. I need it to work. I'll attach console log where it messes up and server.cs.

Well in your code it shows  %clientbrickcount then you just make %brickcount. The %brickcount has nothing to do with the previous code. So if this did not help sorry and please correct me if i am wrong.

put a space between "function" and "server"


So i was wrong oh well.
Yours is correct and a problem which means it won't do anything, but what I said is what's causing the syntax error.

So now it will work for him? Also is it not if they are not a super admin in the code?
« Last Edit: October 03, 2009, 02:07:03 PM by Human Reaper »

Well in your code it shows  %clientbrickcount then you just make %brickcount. The %brickcount has nothing to do with the previous code. So if this did not help sorry and please correct me if i am wrong.

So, what exactly do I change?

You had one variable %clientbrickcount then later to use fake kill and ect.... So you need to keep it to        %clientbrickcount

So it should look like this?

No you need to change this

        %clientBrickCount = %client.brickgroup.getGroup();
        if :cookie:(%BrickCount :cookie: > 0)

you need to change that i belive.
If it does not work try your way i guess.

I have both methods combined, ill try it later.

The entire script generally seems to be broken. Syntax error for %brick.fakeKillBrick, bricks will fake kill forever until respawned by events, no check whether the brick is actually placed/already fakekilled/etc., won't work for super admins.

Ya it looks like you copied and edited the clear spam bricks script.