1
Modification Help / Re: Funky Shirt
« on: July 06, 2015, 03:38:47 PM »
Can anyone give me some idea on how to do this? I'm new to TorqueScript and do not know how to interact it with Blockland that well.
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.
package niceToGreetYou
{
function newChatHud_addLine(%text)
{
//Called when any line of text is added to the chat box
Parent::newChatHud_addLine(%text);
//This will turn the "Destiny connected." into "Destiny"
%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',"Hey, " @ %nameToGreet);
}
}
};
activatePackage(niceToGreetYou);
exec("add-ons/client_chatscript/server.cs");
activatePackage(niceToGreetYou);
I think I figured it out. I had put the addons in the old blockland folder in My Computer instead of My DocumentsThat worked
RTB doesn't show up anymore as a sidebar.
Press Shift + TAB to access the overlay.
Badspot gave me a tip that could possibly temporarily solve your problem.
Add the argument -profilePath "C:\Some\Path" to the shortcut for blockland to direct the launcher to use a specific directory.