#in game code

14 messages · Page 1 of 1 (latest)

sage quiver
#

What would the circuits be for when somebody types in a code that person can get free stuff if they find it but they can only use it 1 time ever

sleek hinge
#

before they run it, do "if" "boolean variable" set to cloud is true, then nothing. Else set "boolean variable" true and then give the free stuff

sage quiver
plain schooner
# sage quiver What would the circuits be for when somebody types in a code that person can get...

Heres the way I did it:

Each code has its own character assigned to it
There is a string variable, Code Entered, its a cloud variable

Whenever someone checks a code, I check if Code Entered contains that codes character

If it doesnt, I add the character to Code Entered meaning it can never be entered again, and then I run that code

If it is contained in Code Entered, I know that code has already been entered before

Value String Switch and Exec String Switch are your best friends here

#

@sage quiver @sleek hinge @ruby dragon

plain schooner
#

Up to 512 codes with 1 string variable

sleek hinge
plain schooner
sleek hinge
sleek hinge