ULX

Author Topic: Requesting for some ULX DarkRP commands  (Read 2712 times)

0 Members and 4 Guests are viewing this topic.

Offline Rain

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Requesting for some ULX DarkRP commands
« on: December 16, 2014, 07:08:15 PM »
hello, I have been searching for some of these commands and have not had much luck!

so if possible I'd like to request the following and also where to place them and if I need to edit things :3

1. /report <issue> 

sends this to admins on the server.
(my @ shows the chat to all players for some reason and I'd like something different.)

2. /a for an admin chat, so that admins+ can talk amongst eachother.

3. /911 calls for government units and shows the position on the screen, seen it before just cannot seem to find anything on these things.

4. !return for admins after using !goto for player issues.

5. /aadvert for an admin advert.

would be very appreciated if anyone could help me out with these <3
« Last Edit: December 16, 2014, 07:17:53 PM by Rain »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Requesting for some ULX DarkRP commands
« Reply #1 on: December 16, 2014, 08:41:24 PM »
hello, I have been searching for some of these commands and have not had much luck!
Do you use ULX? ULX has many of what you're asking, but using a different input.
See below

1. /report <issue>  sends this to admins on the server.
ULX doesn't have this by default, but, have you seen our Releases section of the forum??? Don't stop at just the first page. Better yet, from the releases section, search for "report"
Simple Reports - http://forums.ulyssesmod.net/index.php/topic,7391.0.html
AWarn2 - Not quite player reporting, but good for admins to track players. http://forums.ulyssesmod.net/index.php/topic,7125.0.html


(my @ shows the chat to all players for some reason and I'd like something different.)
Then you have a conflicting addon overriding ULX "@", OR, all your players have admin access or the ULX access flag "ulx seeasay".
 o ulx asay {message} - Send a message to currently connected admins. (say: @)

2. /a for an admin chat, so that admins+ can talk amongst eachother.
o ulx asay {message} - Send a message to currently connected admins. (say: @)
That's what "@" is supposed to do when not broken on your server.

3. /911 calls for government units and shows the position on the screen, seen it before just cannot seem to find anything on these things.
This seems like only one of two custom commands you've asked for not already available here at Ulysses.

4. !return for admins after using !goto for player issues.
o ulx return [<player, defaults to self>] - Returns target to last position before a teleport. (say: !return)

5. /aadvert for an admin advert.
2nd of 2 custom commands.

would be very appreciated if anyone could help me out with these <3

Hope that was helpful.
If you're not using ULX, well, why not?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline BobTheDuck69

  • Newbie
  • *
  • Posts: 33
  • Karma: 1
Re: Requesting for some ULX DarkRP commands
« Reply #2 on: March 12, 2015, 12:00:25 PM »
The commands may not be made by Ulysses but i think i can manage it. it may not be fully error free but ill try to help. Its why im here and to get help.
~The friendly neighborhood duckie~

Offline BobTheDuck69

  • Newbie
  • *
  • Posts: 33
  • Karma: 1
Re: Requesting for some ULX DarkRP commands
« Reply #3 on: March 12, 2015, 12:08:49 PM »
Here is the Admin chatter type !achatter then message it may not work i coded it based off of Asay and im a bit rusty so i only edited the original im working on the rest now.
Code: [Select]
local seeachatterAccess = "ulx seeachatter"
if SERVER then ULib.ucl.registerAccess( seeachatterAccess, ULib.ACCESS_OPERATOR, "Ability to see 'ulx achatter'", "Other" ) end -- Give operators access to see achatters echoes by default

function ulx.achatter( calling_ply, message )
local format
local me = "/me "
if message:sub( 1, me:len() ) == me then
format = "(ADMINS) *** #P #s"
message = message:sub( me:len() + 1 )
else
format = "#P sent a chat to admins : #s"
end

local players = player.GetAll()
for i=#players, 1, -1 do
local v = players[ i ]
if not ULib.ucl.query( v, seeachatterAccess ) and v ~= calling_ply then -- Calling player always gets to see the echo
table.remove( players, i )
end
end

ulx.fancyLog( players, format, calling_ply, message )
end
local achatter = ulx.command( CATEGORY_NAME, "ulx achatter", ulx.achatter, "!achatter", true, true )
achatter:addParam{ type=ULib.cmds.StringArg, hint="message", ULib.cmds.takeRestOfLine }
achatter:defaultAccess( ULib.ACCESS_ALL )
achatter:help( "Send a message to admins in the chat." )
~The friendly neighborhood duckie~

Offline Livaco

  • Full Member
  • ***
  • Posts: 133
  • Karma: -37
    • Livaco
Re: Requesting for some ULX DarkRP commands
« Reply #4 on: April 01, 2015, 09:42:19 AM »
Admin Chat Is Allredy In The Game Dude, That's If U Have ULX. The Command Is "@ Help Admin" And As Long Admin Have The Perms They Can Call For Backup "@ Guys TP To Me I Need Backup" And Basicley Chat
Here To Help And Be Happy And Help :)

My Website
My Addons
PermaBanV1.0

Quote from:  Livaco on April 12 at 9:10:20 PM
I May Be Dum But Am Still Better Then The Rest

Livaco Products©