Command Question [SOLVED]

Anonynn
02 Jul 2016, 01:24
I'm trying to create a 'Global Command' where if the player types in a certain code, it'll make an item appear in their inventory.

I was thinking...

Command Pattern
((I wanted some type of numerical code here. Do I just put it in?))
Name: Debug
Unresolved object text:
I didn't get that.

Script
if (Got(Debug)) {
}
else {
AddToInventory (Debug)
}


That worked! Sorry about the post! :D