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
»
!bring only lets me bring one person at a time
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: !bring only lets me bring one person at a time (Read 2672 times)
0 Members and 1 Guest are viewing this topic.
Panther
Newbie
Posts: 3
Karma: 0
!bring only lets me bring one person at a time
«
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?
Logged
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: !bring only lets me bring one person at a time
«
Reply #1 on:
February 24, 2016, 03:25:44 AM »
As written, it won't allow more than one. Are you looking to modify the command to bring more?
Logged
Experiencing God's grace one day at a time.
Panther
Newbie
Posts: 3
Karma: 0
Re: !bring only lets me bring one person at a time
«
Reply #2 on:
February 24, 2016, 02:24:50 PM »
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.
Logged
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: !bring only lets me bring one person at a time
«
Reply #3 on:
February 25, 2016, 03:21:02 AM »
You will need to modify goto.lua. I think the function is SendTo. It only accepts one "sendee" at the moment.
Logged
Experiencing God's grace one day at a time.
Panther
Newbie
Posts: 3
Karma: 0
Re: !bring only lets me bring one person at a time
«
Reply #4 on:
February 28, 2016, 02:08:38 AM »
Sorry im new to coding and im not sure what file youre referring to, where exactly is goto.lua ?
Logged
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: !bring only lets me bring one person at a time
«
Reply #5 on:
February 28, 2016, 05:14:50 AM »
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 player
s
rather than just a player.
Logged
Experiencing God's grace one day at a time.
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
General
»
Developers Corner
»
!bring only lets me bring one person at a time