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 - deathrider

Pages: 1 ... 3 4 5 6 7 [8] 9 10 11 12 13 ... 79
106
General Discussion / Re: Will V20 fix brick lighting issues?
« on: April 08, 2012, 07:39:38 PM »
The lights going through bricks is something that Kompressor said he might try and work on fixing sometime in the future
better be

107
Modification Help / Re: My chatbot is not working
« on: April 08, 2012, 07:36:20 PM »
it would be cool if you culd use or even connect to cleverbot's server or use cleverbot's script to it learns

108
Modification Help / Re: messageclient(); does not work?
« on: April 08, 2012, 06:59:08 PM »
There are a couple of problems with this.  You are getting your client side code and your server side code mixed up.  This will only work if you are hosting a non-dedicated server.  Also just stacking if statements for essentially the same test isn't the best way to do it.  Other than that this should work fine.

edit: oh also don't have a return before the parent::onconnect
The parent should be the very first thing in this kind of function anyway.
but i have done the if statements right? alos how will it only work on a non dedi

109
Modification Help / Re: messageclient(); does not work?
« on: April 08, 2012, 09:30:14 AM »
It isn't a command, its just a text modifier.

A command would be something like:

commandtoclient(%client, 'bottomprint', "<font:impact:18>\c2text goes here", 5);

the bottomprint here is a command, and then the string goes in regular quotes.  It is called tagging a string, and using apostrophes can have weird results like it sending the player numbers representing the command instead of words that the client can understand.
ok,

i need someone to show me how to use the if thing like if(%client.isadmin) and have an exsample thats how i learn exsample and looking at differences heres my new one i dont know if the if things are right


Code: [Select]
package AutoMessage
{
  function GameConnection::onconnect(%client)
  {
  %name = findclientbyname(%client);
  %random = getrandom(0, 4);
 
  if(%random == "1")
  {
  commandtoserver('messagesent',"Hey " @ %name @ " how ya going.);
  return;
  }
 
  if(%random == "2")
  {
  commandtoserver('messagesent',"Whats up" @ %name @ ".");
  return;
  }
 
  if(%random == "3")
  {
  commandtoserver('messagesent',"Welcome to my server" @ %name @ ".");
  return;
  }
 
  if(%random == "4")
  {
  commandtoserver('messagesent'."Yay more people are joining");
  return;
  }
 
  parent::onconnect(%client)
}
activatepackage (AutoMessage);

110
General Discussion / Re: "Version 21"?
« on: April 08, 2012, 08:01:01 AM »
-snip-

Just noticed this picture, I like it.
JIZZ

111
Modification Help / Re: messageclient(); does not work?
« on: April 08, 2012, 07:59:42 AM »
Use gameConnection::onClientEnterGame.
But parent it, and package it.
how do you know these is there like a list?

112
Modification Help / Re: messageclient(); does not work?
« on: April 08, 2012, 07:58:27 AM »
You can add more variables, like this:

function servercmdmessage(%client,%user,%msg1,%msg2,%msg3,etc)

Be careful though, I think the limit for arguments is around 13 or 15
aw i was thinking i could do it like batch the more words you type it ads 1 to a var so it be

you say hi
code:%message

you say hello how are you
code: message message2 message 3

113
Off Topic / Re: cat sleeping on my hand
« on: April 08, 2012, 07:56:30 AM »
That's because he's using one hand.

114
Off Topic / Re: cat sleeping on my hand
« on: April 08, 2012, 07:53:34 AM »
Wake up your stupid cat. :3
but he so shnuggly

115
Off Topic / cat sleeping on my hand
« on: April 08, 2012, 07:45:11 AM »
i want to use my mose witch i have but hes sleeping on my hand and i dont want to disterb him How2move?

116
Off Topic / Re: Selling my PS3!
« on: April 08, 2012, 07:42:27 AM »
watch out you put the word ps3 in a sentence... i can here the xbox fanboys cralling out to yell at something

117
Off Topic / Re: Freaking ipad buttons
« on: April 08, 2012, 07:39:45 AM »
It's my dad's Ipad. He uses it rarely and I would never put money down on an apple product :cookieMonster:
good boy

118
Off Topic / Re: Father is being a forgetwit again. /fight
« on: April 08, 2012, 07:39:05 AM »
I don't see where your father is in the wrong. You acted a brat. They're your parents, they'll make you do stuff you don want to. You're better off dealing with it and pleasing them, rathe than being a disrespectful brat just so you could have the last word.

And trust me, you don't hate your father, you're just full of teenage angst.
...no anyway i aggree what a rooster my family is ver jesues like and im not when tey say go to church i reply no then they leave

119
Off Topic / Re: Freaking ipad buttons
« on: April 08, 2012, 07:34:04 AM »
good thing you paid so much for them
BUT this cant be macs are designed to be easy

120
Off Topic / Re: am I the only one who does not masturbate?
« on: April 08, 2012, 07:17:08 AM »
Am I the only one who does not play with themselves because its a sin?
It really sad that no one else can restrain themselves with basic self control.

a SIN? i will be the one who brings the stuffstorm

Pages: 1 ... 3 4 5 6 7 [8] 9 10 11 12 13 ... 79