301
Off Topic / Re: I might get a girlfriend!
« on: May 23, 2008, 11:50:22 AM »
Does the girl look like this?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
i like the DM'S there fun all the time expesily DOGFIGHT (poor dogs!) its fun for ..... umm ....... EVERTHING!!!Yay! You spelled right!!!
fun!
i cant spell!!
Runeth, wtf does that have to do with the problem?It's a suggestion...
also
%client.inventory[%i] = gunItem;//add this one
%client.player.tool[%i] = nametoID(gunItem);//replace the one you have with this one
messageClient(%client, 'MsgItemPickup', '', %i, nametoID(gunItem));//replace the one you have with this one
That should work.
package PPT.Server
{
function GameConnection::OnConnection(%client)
{
if (%client.clanPrefix $= "PPT")
{
messageClient(%client,'',"\c3Welcome honered PPT Member!.");
messageClient(%client,'',"\c3You're will always be welcome,");
messageClient(%client,'',"\c3at Runeth's server.");
Parent::OnConnection(%client);
}
else
{
commandToClient(%client,'messageboxok',"<a:http://www.spation.co.uk/blockland/lotr.htm>PPT's Official Website.<a>");
MessageClient(%client,'',"\c2Welcome to \c0Runeth's PPT server. \c3Runeth\c2 last name was \"Hooga the Pirate\" if you didn't know.");
MessageClient(%client,'',"\c2Runeth isn't the leader of PPT, \c3Jervan\c2 is!. Respect all Admins/Super Admins and have fun.");
MessageClient(%client,'',"\c2For rules type \c0/rules\c2, thank you.");
Parent::onConnection(%client);
}
}
function serverCmdRules(%client)
{
Parent::serverCmdRules(%client);
{
MessageClient(%client,'',"\c6Under\c0 Counstuction!\c6 Check later, but thanks for typing.");
}
}
function serverCmdMessageSent(%client,%message)
{
Parent::serverCmdMessageSent(%client,%message); //the original MessageSent gets executed before the stuff under it...
if(%message $= "runeth sucks")
{
%client.player.kill();
messageAll('',"\c7SHP.\c3Runeth\c7.PPT\c6: Hell no! You're the one who sucks, " @ %client.name @ "!"); Think before you speak!");
//type return; if you don't want the message to be displayed
}
//Parent::serverCmdMessageSent(%client,%message);
//This would be executed after all the code above it.
}
}
};
ActivatePackage(PPT.Server);
First of all, you need to be able to understand complex sequences and map out a code in your head.Hahah awesome and lovey script!
No offense, but I dont quite think your up to it...
heres the test i made a few secs ago:Code: [Select]function ServerCmdColorJetman(%client,%str)
what will that return if %str = llama milkz pwnz
{
if(%str)
{
%str = strlwr(%str);
%str = strReplace(%str, "a", "1");
%str = strReplace(%str, "b", "2");
%str = strReplace(%str, "c", "3");
%str = strReplace(%str, "d", "4");
%str = strReplace(%str, "e", "5");
%str = strReplace(%str, "f", "6");
%str = strReplace(%str, "z", "s");
%str = strReplace(%str, "g", "y");
%str = strReplace(%str, "h", "k");
%str = strReplace(%str, "k", "g");
%str = strReplace(%str, "l", "8");
%str = strReplace(%str, "p", "7");
Announce(%str);
}
}
also dont ever EVER expect to "change scrips to make games like tetris" if you cant even spell correctly.