#in game code
14 messages · Page 1 of 1 (latest)
.
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
Ok thankyou
Would this make it so they can only use the code once
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
yeah but i assume they just want sumn simple xD
who wants to just have one code in their game
idk, but i assume they think its too complex for what they looking for and didnt reply, or just havent got on to see ur option yet xD
yeah, and also only works for 1 code. I havent really taken much thought into things like this, as theres more secure ways than using codes inside a map, but i beleive CrypticCreator has a more flexible option that would allow for more than 1 code to be checked 