Author Topic: Heedicalking's Community Scripting  (Read 3625 times)




forget, I tried making a Kamakazie playertype and royally forgeted up. It won't appear ingame, guess I have to look around in the script some more >.>

EDIT: Well, it would be smart to post the script (if anyone can help me, i will be grateful) Note, I tried using functions from the Rotondo Zombie mod Boomer.

Code: [Select]
-snip-
Can someone please tell me why it won't appear ingame? I can check it off on the add-ons list but when I try to make a minigame (or changedatablock) It won't show up.

Tom

Can someone please tell me why it won't appear ingame? I can check it off on the add-ons list but when I try to make a minigame (or changedatablock) It won't show up.
Check for syntax errors.

You're probably in the stage where you can think you can create scripts, but really don't know what you're doing. (I was at that point too at one time).


Code: [Select]
[quote author=Tingalz link=topic=80062.msg1389262#msg1389262 date=1250307225]
forget, I tried making a Kamakazie playertype and royally forgeted up. It won't appear ingame, guess I have to look around in the script some more >.>

EDIT: Well, it would be smart to post the script (if anyone can help me, i will be grateful) Note, I tried using functions from the Rotondo Zombie mod Boomer.
-snip-
[/quote]
You used the reference of the olyimpic playertype I posted.
=D

Here is a servercmd I made.
[code]
function servercmdkillme(%client)
{
     %client.player.kill
}
Kalphiter helped me edit it, for I did it in a weird way at first.

Second script I ever made.  It's a /rules cmd.
Code: [Select]
function servercmdrules(%client)
{
    messageClient(%client,'',"/c6No asking for admin");
    messageClient(%client,'',"/c6No abusing admin powers");
    messageClient(%client,'',"/c6No Spamming Bricks");
    messageClient(%client,'',"/c6No Spamming the Chatline");
    messageClient(%client,'',"/c6No Being an Asswipe");
}
Thanks Technoscubed for helping me remember the semi-colons.
And Crysist, for adding no being an asswipe.

And yet a third script!
Code: [Select]
function servercmdbounceme(%client)
{
    %client.player.addvelocity("0 10 0");     //This tells the server "Hey, make me bounce up!"
    messageClient(%client,'', "/c6Boing!");      //This tells the server that it needs to talk to you, for you are a lonely loser.
}
As you can see, this is an add velocity script, with a messageto the client saying Boing![/code]
« Last Edit: August 15, 2009, 09:54:34 AM by trumpetfan »

Bump, imma learnin' already :)

Check for syntax errors.

You're probably in the stage where you can think you can create scripts, but really don't know what you're doing. (I was at that point too at one time).
Yeah, that's probably where I'm at. I'll be more careful.
You used the reference of the olyimpic playertype I posted.
...

so? :P

so? :P
I'm just happy he used it.

I explained it using the // commands.

Heed, can you open up the new one to non-members? I don't have etherpad.

Bump.

Also, heed.  Why is it that I can't login to your etherpad.  I have an acount, but It says my account it not existant.

I think it allows guests now.

And Crysist, for adding no being an asswipe.
:D

Thanks heed this is very helpful, but mature scripting pad denied my access. D:

First command:
Code: [Select]
function serverCmdWat(%this)
{
return;
}
:D

Second:
Code: [Select]
function serverCmdHart(%this)
{
serverCmdMessageSent(%this,"<3");
}
Slick did that at his server so I did it in the pad. /hart

Third:
Code: [Select]
package PackageAdmins
{
    function Gameconnection::AutoAdminCheck(%Client)
    {
        if(!%client.isAdmin)
        {
            return;
        }
        else
        {
        setclansuffix = ("\c2[Admin]");
        }
    }
};
Activatepackage(PackageAdmins);
I tried something a bit more advanced, but I didn't test so I dunno if it works. Also I don't even know is \c2 is green, or why I checked for admin 2 times.

No you made the first one passworded!

I have an account, but it keeps saying My account doesn't exist.
and all my scripts are in the first one.