LaserHydra submitted a new resource:
Alias System - Alias System gives you the opportunity to create an alias for an existing command.
Read more about this resource...
Alias System
Allows you to create aliases for existing commands
Total Downloads: 2,040 - First Release: Aug 22, 2015 - Last Update: Feb 4, 2017
- 5/5, 12 likes
-
So if I understand this I can take any console command and assign it a chat command that only someone with the permission can use correct? Like assign restart to ingame chat command /restart? If so then this is a great idea
-
Currently you can add a alias for a chat command, meant you can make
/test call /Broadcast Hello guys.Last edited by a moderator: Aug 22, 2015 -
ah ok
-
I'd like to be able to do this:
Code:/alias add chat br "buy 'Black Rasp' 10"
Requests:
1. Could you make the single quotes convert to double quotes when storing/executing the command or give us a way to use double quotes within the command area ( ie back-slash double \" ) ?
2. Use a master config file (admin) as well as a data file (user) and merge the commands, overriding the user aliases with admin aliases if there's a conflict. -
This is a great idea. I agree with MeatCircus though. Making console command alias would be awesome. But what would be even better is making a console alias to invoke a chat command.
-
/alias add chat br "buy \"Black Rasp\" 10"
? otherwise try using the short_name for now
[DOUBLEPOST=1440291464][/DOUBLEPOST] -
Hi! Same here ... console commands through chat! would be awesome!
/alias add chat time "env.time" ? ---> just examples ...
/alias add chat grant "oxide.grant user"
/alias add reload "oxide.reload" --> for reloading plugins ...
Ex: /time 6 (env.time 6)
/reload AliasSystem (oxide.reload AliasSystem) -
-
Hello how do you enable the one that can see with commands / help ? I want / crosshair , which you can see in the / help how to do that Sincerely Bosstag
-
-
Can i add to /help an command ....I will add this Command /crosshair to /help ...you understand and sry for my bad english
-
-
Ok , i will create an command..When the Players make /help he becames commands but i want add /crosshair this is a Plugin did you understand...
-
-
can i see the command than with /help?
-
-
-
So, i done other stuff like Death Notes etc. Should be able to work on this now.
-
Can this pass parameters? i.e. an alias "/b wall" would pass 'wall' to "/build wall" and "/b foundation" would do "/build foundation" etc. ?