Ulysses

Ulysses Stuff => Suggestions => Topic started by: Deathtitan77 on February 22, 2013, 09:00:15 AM

Title: Force the !motd screen
Post by: Deathtitan77 on February 22, 2013, 09:00:15 AM
A command to force the !motd screen on someone.
Title: Re: Force the !motd screen
Post by: nathan736 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
Title: Re: Force the !motd screen
Post by: bender180 on February 22, 2013, 12:08:25 PM
or you could just use the cexec to force the ulx motd command on the player.
Title: Re: Force the !motd screen
Post by: Deathtitan77 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?
Title: Re: Force the !motd screen
Post by: JamminR 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
Title: Re: Force the !motd screen
Post by: Deathtitan77 on February 23, 2013, 04:04:57 AM
Thanks for the reply.