Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Developers Corner
»
Make a chat command go to a website?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Make a chat command go to a website? (Read 1652 times)
0 Members and 1 Guest are viewing this topic.
SexyWalrus
Newbie
Posts: 19
Karma: -3
Make a chat command go to a website?
«
on:
February 08, 2015, 09:27:44 PM »
How do i make it so if someone types !forums or something along that line thy get directed to a website?
Logged
MrPresident
Ulysses Team Member
Hero Member
Posts: 2728
Karma: 430
Re: Make a chat command go to a website?
«
Reply #1 on:
February 08, 2015, 10:07:03 PM »
Assuming you know how to make commands already:
Here is how you would open a webpage in the Steam overlay browser:
ply:SendLua( [[ gui.OpenURL("
http://www.google.com
") ]] )
http://wiki.garrysmod.com/page/gui/OpenURL
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
General
»
Developers Corner
»
Make a chat command go to a website?