Show Posts

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.


Messages - MegaScientifical

Pages: 1 ... 1279 1280 1281 1282 1283 [1284] 1285 1286 1287 1288 1289 ... 1473
19246
Modification Help / Re: Hydrobot v. 1.1
« on: November 12, 2010, 01:05:13 PM »
Shouldn't it look like this?

-snip-

This is somewhat of what I used for ElegectBot's coding. Its all in a pattern. And if you where trying to do your own coding on the "Hydrobot package", why reinvent the wheel?

There's many problems in that code. Varying, but I'll fix it. Not sure it's what he wants, though. I'll edit this post with my version and a short list of corrections.

Edit: The major problem is you tried working off his really badly made code on the topic post instead of using the code on the other pages. There's too many packages, and he was making separate packages for each part of his code. There's no real reason to announce the bot, especially when spawned, but I don't remember the right join command to package there. To reduce the chance of additions to the code looking inconsistent, I made a separate response command that has the name format already. The responses can be bypassed, but there's no way to prevent that.

Meh.

Code: [Select]
function findWord(%text, %word) {
for(%i = 0;%i <= getWordCount(%text); %i++)
if(getWord(%text, %i) $= %word)
return %i;
return -1;
}

function HydrobotRespond(%t) {
chatMessageAll("", "\c3Hydrobot\c6: %1", %t);
}

package Hydrobot {
function GameConnection::onClientEnterGame(%this) {
Parent::onClientEnterGame(%this);
chatMessageClient(%this, '', "\c3Server is running Hydraulic's chatbot Mod Version 2.5");
}

function serverCmdMessageSent(%client, %message) {
Parent::serverCmdMessageSent(%client, %message);
if(strStr(%message, "hydro") > -1) {
if(findWord(%message) $= "hi")
HydrobotRespond("Hey there.");
else if(findWord(%message, "hate") > -1 && findWord(%message, "hydrobot") > findWord(%message, "hate"))
HydrobotRespond("I hate you more" SPC %client.name @ ".");
}
}
};
activatepackage(Hydrobot);

19247
Modification Help / Re: RTB Development
« on: November 12, 2010, 01:03:07 PM »
I just have a small question about the new file arrangement :
Many add-ons that use RTB Prefs (mine included, unfortunately, since i copy/pasted from one of those when I was figuring out how) will exec RTBR_ServerControl_Hook.cs if $RTB::RTBR_ServerControl_Hook is false. Since the alpha's file system is different, how will this affect those add-ons?

If a compromise must be made, you think he'd put the file in it's own place and just have an exec to the new location in it?

19248
Off Topic / Re: Breakfast!
« on: November 12, 2010, 12:57:55 PM »
* MegaScientifical gives a forget *

THE WORLDS RAREST TRUFFLE!

19249
Off Topic / Re: The Walking Dead
« on: November 12, 2010, 12:51:22 PM »

19250
Creativity / Re: Supreme's "Handy Mot(c)" Wallpaper thingo(s)
« on: November 12, 2010, 12:50:10 PM »
I suggest using multiple shots instead of just rotating a single one. Makes it look... at least a little cooler.

19251
Drama / Re: Lolol, i'm trying to bypass a chat filter that DOESN'T EXIST
« on: November 12, 2010, 12:48:31 PM »
Ah. Anyone remember the good old days of BL forums, when Badspot had censors here? stuff became ice cream, bitch became panda... I think.

Someone refresh my memory, but I think most of our emoticons here are related to the old censors.

19252
Drama / Re: Col.Burton
« on: November 12, 2010, 12:46:39 PM »

19253
Drama / Re: Nobody loving died, stop it.
« on: November 12, 2010, 12:13:05 PM »

19254
Drama / Re: Badspot
« on: November 12, 2010, 12:12:26 PM »

19255
Drama / Re: Nobody loving died, stop it.
« on: November 12, 2010, 12:04:44 PM »
This forum's need for stupidity amazes me.

Requirement is more the word. :cookieMonster:

19256
Drama / Re: Badspot
« on: November 12, 2010, 12:01:37 PM »
Back on topic: Badspot is awesome... And I'm a suck up, but he is the most logical person here.

19257
Drama / Re: Nobody loving died, stop it.
« on: November 12, 2010, 11:58:47 AM »
Hugums died.

Hellriot was injured in a tragic fapping accident.

19258
Off Topic / Re: The Walking Dead
« on: November 11, 2010, 11:47:26 PM »
Bumping older topic on subject.

19259
Creativity / Re: Avatar Request: Default Player creep Bear
« on: November 11, 2010, 11:29:33 PM »
i spent along time makeing this can you please use it
-snip-
sorry its not trans i made it in mspant

Trans'ed:

Edit: Hand done?

19260
Creativity / Re: Pixel Wall
« on: November 11, 2010, 11:14:39 PM »
-snip-

Obviously.

You seem to have not noticed you broke the transparency next to the motherboard. Well, I'm removing the transparency area. People come here copying the image to clipboard and just break it. I'm not the OP, but I suggest no one else use transparency until the day people learn how to handle transparency.

Edit: Two more notes: You can't start breaking other peoples additions off it. And you took away over 4 blocks, anyway.


Pages: 1 ... 1279 1280 1281 1282 1283 [1284] 1285 1286 1287 1288 1289 ... 1473