General > Developers Corner

Chat Triggers

<< < (5/5)

Decicus:
Thank you so much! I actually tested that at first, but when it said that "unexpected object '..'...." and so on, it sort of confused me. I figured it out by removing those dots. Now this should be my final question, because it's the only thing that doesn't properly work.

When trying to color the first part "[Admin]", even though I've added a custom RGB code, it still stays at the default/blue-ish ULX text. Is there any workaround to that?

Scratch that, I just added the "wait" parameter, and it worked fine. Again, thanks for all the help you've given me, I've learned a lot from it!

MrPresident:
No worries. The reason the .. didn't work is because in lua:

.. is how you combine strings. Similar to . in php.


"this" .. "and" .. "that" = "thisandthat"

Decicus:
I figured it was something like that, I guess ChatPrint required that.

Navigation

[0] Message Index

[*] Previous page

Go to full version