Ulysses
General => Developers Corner => Topic started by: Panther on February 24, 2016, 01:30:34 AM
-
How do i make it so !bring lets me bring everyone, for example the command !bring * does not work and if people have the same name it will simply refuse to work until i specify only one person. Can someone help me fix this?
-
As written, it won't allow more than one. Are you looking to modify the command to bring more?
-
Yes im trying to make it so i can bring as many people as i want at one time, for example to where !bring * brings everyone.
-
You will need to modify goto.lua. I think the function is SendTo. It only accepts one "sendee" at the moment.
-
Sorry im new to coding and im not sure what file youre referring to, where exactly is goto.lua ?
-
Sorry it's teleport.lua. The function you'll want to modify is this -- https://github.com/TeamUlysses/ulx/blob/master/lua/ulx/modules/sh/teleport.lua#L4 -- as well as the commands to accept players rather than just a player.