11 lines
359 B
GDScript
11 lines
359 B
GDScript
extends Node
|
|
|
|
## all command variables are stuck in here, idk why i did this but its like 5am and im done with this shit atp
|
|
|
|
var lastMessage = ""
|
|
|
|
|
|
func registerCommand(CommandID:String):
|
|
var parts = CommandID.split(":")
|
|
return load("res://GameShit/PlayerController/ChatSystem/commands/{namespace}/{id}.gd".format({"namespace": parts[0], "id": parts[1]}))
|