register Gui Key
Registers a new trigger that runs whenever a key is typed with a gui open
Passes through four arguments:
The character pressed (e.g. 'd')
The key code pressed (e.g. 41)
The gui
The event, which can be cancelled
Available modifications:
Trigger.setPriority Sets the priority
Return
The trigger for additional modification
Parameters
method
The method to call when the event is fired