Author Topic: Need help with color of messageall now...  (Read 1645 times)

Double toast, just noticed this:
message all has two arguments for some reason, i believe
messageall("", "your message here.");

Hm, my mistake, I haven't used it in a long time.

Double toast, just noticed this:
message all has two arguments for some reason, i believe
messageall("", "your message here.");
Not even.
messageall('', "your message here.");


Not even.
messageall('', "your message here.");


the only difference is that you used apostrophes and he used quotation marks.

it doesn't matter if nothing is in there i'm pretty sure, it's all a NULL string

the only difference is that you used apostrophes and he used quotation marks.

it doesn't matter if nothing is in there i'm pretty sure, it's all a NULL string
It will matter when you insert "bottomPrint" and find out it won't work.

It will matter when you insert "bottomPrint" and find out it won't work.
But he isn't.

it doesn't matter if nothing is in there i'm pretty sure, it's all a NULL string

edit:
Anyways, don't get into the habit of using quotation marks either way. Most people including myself use apostrophes because they work indefinitely.

Anyways, don't get into the habit of using quotation marks either way. Most people including myself use apostrophes because they work indefinitely.
Quotation marks ("") are strings that can be used everywhere. Apostrophes ('') are used for networking.

messageAll('',"text");
The '' part is a networking string. In this case, it's the type of message to send. When it's a blank networking string it just messages them in the chat. Otherwise it sends a different message type with the text being the content for the message type to use when it reaches the client.

For example:
messageAll('',"hello my name is bob"); //messages the entire server in the chat with "hello my name is bob"

messageAll('MsgItemPickup','',0,hammerItem.getID());//tells the entire server that the hammer should be in their first tool slot

-snip-
yes i know this.

i was talking specifically about the first argument in messageAll


but i didnt say that, so...

ok problem solved locking, thanks for the support guys.