Files
Factory47/GameShit/PlayerController/ChatSystem/CommandHandler.gd
2026-06-04 16:53:41 -05:00

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]}))