ULX motdmenu.lua With Web/Easy
First time I script .lua, so that give you a look how I script an frist project.
I found 5-6 different motd lua script with some cool different thing, so I decided to integrate all in the simple ULX motdmenu. I really recommend to run the motd by URL and not by the html file motd.txt ... You can put the motd URL in the motd.txt , and that was preferable.
That includes:
-Web motd(4 button customizable, originaly was Google,Youtube,Gmod.org,FacePunch ) + ( 1 button to return on the main motd URL )
-Web Menu (2 button to Open/Close the Web Menu )
-Timer Accept
-Accept say
-Timer Decline kick
-Decline say
-And A LOT of other things.
INTALLATION:
put that in :
SERVER LOCATION\orangebox\garrysmod\lua\ulx\modules\cl
Take a look of all customizable things:
-- MOTD BUTTON SETUP
MainURL = " http://YOUR MAIN MOTD URL.com/"
MotdText = "Message of the Day, made by B0ul3Tm@rc"
AcceptButtonText = "I agree"
AcceptButtonTime = 10
AcceptSay = "I agree to follow the rules"
DeclineButton = true
DeclineButtonText = "I'm noob, kick me"
DeclineSay = "I disagree to follow the rules, the server disconnect me !"
DeclineKickTime = 5
WebButtonText = "Open Web Menu"
CloseWebButtonText = "Close Web Menu"
ReturnButtonText = "Main page"
CloseMotdButtonText = "Close Motd Page"
--Website Setup
Website1ButtonText = "Google"
Website2ButtonText = "Youtube"
Website3ButtonText = "Gmod.org"
Website4ButtonText = "FacePunch"
Website1URL = " http://www.google.com/"
Website2URL = " http://www.youtube.com/"
Website3URL = " http://www.garrysmod.org/"
Website4URL = " http://www.facepunch.com/"
I found 5-6 different motd lua script with some cool different thing, so I decided to integrate all in the simple ULX motdmenu. I really recommend to run the motd by URL and not by the html file motd.txt ... You can put the motd URL in the motd.txt , and that was preferable.
That includes:
-Web motd(4 button customizable, originaly was Google,Youtube,Gmod.org,FacePunch ) + ( 1 button to return on the main motd URL )
-Web Menu (2 button to Open/Close the Web Menu )
-Timer Accept
-Accept say
-Timer Decline kick
-Decline say
-And A LOT of other things.
INTALLATION:
put that in :
SERVER LOCATION\orangebox\garrysmod\lua\ulx\modules\cl
Take a look of all customizable things:
-- MOTD BUTTON SETUP
MainURL = " http://YOUR MAIN MOTD URL.com/"
MotdText = "Message of the Day, made by B0ul3Tm@rc"
AcceptButtonText = "I agree"
AcceptButtonTime = 10
AcceptSay = "I agree to follow the rules"
DeclineButton = true
DeclineButtonText = "I'm noob, kick me"
DeclineSay = "I disagree to follow the rules, the server disconnect me !"
DeclineKickTime = 5
WebButtonText = "Open Web Menu"
CloseWebButtonText = "Close Web Menu"
ReturnButtonText = "Main page"
CloseMotdButtonText = "Close Motd Page"
--Website Setup
Website1ButtonText = "Google"
Website2ButtonText = "Youtube"
Website3ButtonText = "Gmod.org"
Website4ButtonText = "FacePunch"
Website1URL = " http://www.google.com/"
Website2URL = " http://www.youtube.com/"
Website3URL = " http://www.garrysmod.org/"
Website4URL = " http://www.facepunch.com/"
Link to this file:
(Forums)
(HTML)
(Forums)
(HTML)





Description
View Contents
Show Downloaders