From Unofficial QEdit Wiki Guide
Syntax: gget [flag]
- [flag] = Flag from the following list gflags
These flags are used to store the current progress of a character in story mode quests. These generally aren't used with any quest other than the story mode quests.
0: ret 1: gget 0018, R200 //Retrieve Caves unlocked flag and store in R200 jmpi_= R200, 00000001, 10 ret 10: window_msg 'Oh! You've been to the caves?!' winend ret