Author Topic: Lua within the ULX Motd  (Read 2093 times)

0 Members and 2 Guests are viewing this topic.

Offline jakej78b

  • Newbie
  • *
  • Posts: 26
  • Karma: 4
Lua within the ULX Motd
« on: December 28, 2014, 06:58:25 PM »
Somewhere I thought that I read you could implement lua within the ulx motd. I was wondering if this was possible to like where if you clicked an html button that it would run some code like gui.OpenURL (or even a DButton would be fine), just wondering if and how this would work.

Offline [TBR] Lt Usher

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
    • http://www.itwasntme.co.uk
Re: Lua within the ULX Motd
« Reply #1 on: December 29, 2014, 07:36:23 AM »
What is your over-all aim? are you trying to set up donations?

Offline jakej78b

  • Newbie
  • *
  • Posts: 26
  • Karma: 4
Re: Lua within the ULX Motd
« Reply #2 on: December 29, 2014, 11:38:09 AM »
That and opening forums within the overlay, because certain elements like drop down boxes don't work in derma html panels. I've already added things such as !donate and !forums, but it would just be more convenient to be within the motd.

Offline [TBR] Lt Usher

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
    • http://www.itwasntme.co.uk
Re: Lua within the ULX Motd
« Reply #3 on: December 29, 2014, 11:54:00 AM »

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Lua within the ULX Motd
« Reply #4 on: January 01, 2015, 12:04:43 PM »
certain elements like drop down boxes don't work in derma html panels.
That depends, actually. If they use CSS transformations, then yeah, they probably won't work. But some methods of it might.
bw81@ulysses-forums ~ % whoami
Homepage