9136
Off Topic / Re: THIS THREAD IS YOUR KINDERGARTEN CLASS
« on: September 07, 2011, 08:36:04 PM »
dis is my blockz get ur ownnnnn
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 want a hat on my rocket but I'm too lazy.
I'm glad I wasn't involved in that dark chapter of this forum's history.
Wow I retested and it breaks the chat when its offCode: [Select]package AutoGreeterThis should work I tested it and ironed out the bugs
{
function newChatHud_addLine(%text)
{
if($canGreet == 1)
{
//Called when any line of text is added to the chat box
Parent::newChatHud_addLine(%text);
//This will turn the "jes00 connected." into "jes00"
%nameToGreet = strReplace(%text," connected.","");
//If the %nameToGreet variable is different to the original line greet them,
//otherwise it's something else
if(%nameToGreet !$= %text)
{
//Send a chat message saying hi to the player who joined (%nameToGreet)
commandtoserver('messagesent',"Hi, " @ %nameToGreet);
}
}
}
};
activatePackage(AutoGreeter);
function ToggleGreet()
{
if($canGreet == 1) {
$canGreet = 0;
clientCmdMessageBoxOK("Auto Greeter, by jes00","Auto Greeter is now: Off.");
} else if($canGreet == 0) {
$cangreet = 1;
clientCmdMessageBoxOK("Auto Greeter, by jes00","Auto Greeter is now: On.");
}
}
it would be my honor, to be your new stepfather
to be your new stepfather
new stepfather
stepfather
You know what they say about duct tape...You have just won the Internet
package AutoGreeter
{
function newChatHud_addLine(%text)
{
if($canGreet == 1)
{
//Called when any line of text is added to the chat box
Parent::newChatHud_addLine(%text);
//This will turn the "jes00 connected." into "jes00"
%nameToGreet = strReplace(%text," connected.","");
//If the %nameToGreet variable is different to the original line greet them,
//otherwise it's something else
if(%nameToGreet !$= %text)
{
//Send a chat message saying hi to the player who joined (%nameToGreet)
commandtoserver('messagesent',"Hi, " @ %nameToGreet);
}
}
}
};
activatePackage(AutoGreeter);
function ToggleGreet()
{
if($canGreet == 1) {
$canGreet = 0;
clientCmdMessageBoxOK("Auto Greeter, by jes00","Auto Greeter is now: Off.");
} else if($canGreet == 0) {
$cangreet = 1;
clientCmdMessageBoxOK("Auto Greeter, by jes00","Auto Greeter is now: On.");
}
}
This should work I tested it and ironed out the bugs
blocklandDon't forget blockland and blockland