Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!A.toLowerCase().includes(`error`))
- {M=I.split(` `)[3];
- Pc=parseInt(I.split(` `)[1]);
- Pl=parseInt(I.split(` `)[2]);
- if(M==`Rules`)
- {if(S.Rules)
- {O=S.Rules}
- else
- {O=`You will be given options to choose from. !CommandName CHOICE to progress. !CommandName to see your choices again. !CommandName Reset to reset progress. !CommandName Back/Go Back to go to last prompt.`}};
- if(M==`Wrong`)
- {if(S.NoMatch)
- {O=S.NoMatch}
- else
- {O=`The choice you chose is not a response you can choose from. Please choose another`}};
- if(M==`Reset`)
- {if(S.ResetMessage)
- {O=S.ResetMessage}
- else
- {O=`The sands of time rewind and you find yourself back where it all began.`}};
- if(M==`Back`)
- {if(S.BackMessage)
- {O=S.BackMessage}
- else
- {O=`You reflect on the choices of the past and decide to go back and change them.`}};
- if(M==`Read`)
- {O=S[Pc].Prompt};
- if(M==`Error`)
- {O=`Some of the data did not load properly please try again.`};
- O}
- else
- {`Error adding data please try again.`}
Add Comment
Please, Sign In to add comment