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
»
Ulysses Stuff
»
Suggestions
»
Force the !motd screen
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Force the !motd screen (Read 3562 times)
0 Members and 1 Guest are viewing this topic.
Deathtitan77
Jr. Member
Posts: 63
Karma: 6
Force the !motd screen
«
on:
February 22, 2013, 09:00:15 AM »
A command to force the !motd screen on someone.
Logged
nathan736
Full Member
Posts: 143
Karma: 4
Re: Force the !motd screen
«
Reply #1 on:
February 22, 2013, 09:48:29 AM »
use
function forceulx(target_plys)
for k,v inpairs (target_plys) do
v:concommand("ulx motd")
end
end
should be easy to add as a command
ps: this is roughly what you would do
Logged
a person asked me how to code lua and i said this " its like building a rocket up side down then realizing you did it all wrong."
bender180
Full Member
Posts: 217
Karma: 42
Re: Force the !motd screen
«
Reply #2 on:
February 22, 2013, 12:08:25 PM »
or you could just use the cexec to force the ulx motd command on the player.
Logged
Made community pool and community bowling and for the life of me couldn't tell you why they are popular.
Also made the ttt ulx commands.
Deathtitan77
Jr. Member
Posts: 63
Karma: 6
Re: Force the !motd screen
«
Reply #3 on:
February 22, 2013, 01:56:42 PM »
Can I please have some instructions on how to force a motd screen on a player's screen using cexec?
Logged
JamminR
Ulysses Team Member
Hero Member
Posts: 8096
Karma: 390
Sertafide Ulysses Jenius
Re: Force the !motd screen
«
Reply #4 on:
February 22, 2013, 02:42:19 PM »
Not sure using xgui, but from game or server console, as superadmin (default),
ulx cexec <player> say !motd
or more sneakily
ulx cexec <player> ulx motd
Logged
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming
Deathtitan77
Jr. Member
Posts: 63
Karma: 6
Re: Force the !motd screen
«
Reply #5 on:
February 23, 2013, 04:04:57 AM »
Thanks for the reply.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
Ulysses Stuff
»
Suggestions
»
Force the !motd screen