LinuxLikeConsole (v3.0)
- Auto completion / suggestion
- Custom commands
- (NEW) Custom Channels (Default only 'All' Channel)
- Custom/built in themes (arch theme, ubuntu theme, windows, light, dark, text_only)
- Built in commands like
- man, tree, ls, cd, help, alias, setDock, clear, ...
- Predefined and runtime forwarded parameters (runtime forwarding is prioritized)
- Easy BBcode support (like: [b]this is bold[/b])
- Logging
- Dragable console
- Slide in animation
- User rights (to restrict the usage of developer only commands)
- Additional Visual and Logging functions (warn, error, sucess )
#short version
onready var console = $Console
func _ready():
var printThreeRef = CommandRef.new(self, "my_three_print", 3)
var printThreeCommand = ConsoleCommand.new('printThree', printThreeRef , 'Custom print.')
console.add_command(printThreeCommand )
# Also possible style
console.add_command(ConsoleCommand.new( \
'printThree', \ # command (like /printThree arg1 arg2 arg3)
CommandRef.new(self, "my_three_print", 3) , \ # object with function name and arguments
'Custom print.') ) \ # description
# 3-arguments version (called with: /printVariant print this please)
func my_three_print(arg1, arg2, arg3):
print("your args: %s %s %s" % [arg1, arg2, arg3])