{command:help:Need assistance?}
silentgator
20 Jul 2016, 18:16So ive been trying to use this text processor command, and have a Regular Expression Command setup with what i need a command to do for my game, but every time i try the command out it says It doesnt know what im trying to do
Ive tryed renaming incase it had issue also tryed to do it as a command pattern however i rather it be a regular expression command, but that didnt work either, cant seem to figure out what im doing wrong. any help would be more then welcome
EDIT: so i tested out the Command without the text link and it works so it isnt the command, just the text processor method of starting it.

Anonynn
20 Jul 2016, 19:08Hmm...text processor with commands. That's very different. I'm not sure you can do it. I'll show you how to set up a "Command" first and then I'll try to offer some suggestions about how to use the text processor with it, but I'm not sure if it'll be correct or not. ^___^
So first you need to decide if the "Command" will be "Global" or "Room Specific" ((just in case you didn't know)
...The difference is:
Global: Can be called upon/accessed anytime in-game.
Room Specific: Only that specific room will allow the "Command" to be called upon.
To set up a "Global" right click your "game.object" in your tree of stuff, then "Add Command".
To set up a "Room Specific" right click the "room.object" you desire the "Command" in and then "Add Command"
The basic look of the "Command" should be...
Command
Command Pattern/Regular Expression (in most cases you'll use "Command Pattern")
textplayerhastotype;differenttexttheplayercantype;stillmoretexttheplayercantype
Name: Cool Thing
Unresolved object text: (in case something is typed wrong but close to the command name)
Huh? I didn't get that
Script.
Script to run when the "Command" has been called upon.
With that out of the way...we can try the text processor.
You can try {player.eyecolor} or something like that. ((It might help if you post exactly what text processor command you're trying to use, otherwise we'll be guessing at how to help)). I'm also not sure if it'll work but you can try...
Command Pattern
{player.eyecolor};{player.strengthstat};{player.whatchamacallit}
Would you mind providing the text processor command you're trying to get to work? I'm a pro with those :P
silentgator
20 Jul 2016, 19:10Hmmm Here have a look at the Processors List http://docs.textadventures.co.uk/quest/text_processor.html
the command im trying to get work is in the Additional text adventure commands
the command is the title, just without the changes but if u need a reference here
{command:help:Additional text}
{command:TakeRest:Have a Rest?}
Edit: as i said before i have tested the command and it works, just the way that its said to be done via Text Processor Doesnt seem to attach to the command im stating, and all of these are global.
silentgator
20 Jul 2016, 19:34Heres the command script stub for one of them
msg ("You Decide to Take a Rest.<br/><br/>[Press any key to continue]")
wait {
do (DayTurns, "script")
}
Edit: Managed to get it to attach not sure what the difference was i litterally just remade it didnt move it anywhere or do anything else to it, but it still doesnt do anything just doesnt say it doesnt understand, ill click it and it will still have the page it was on before i clicked.
silentgator
20 Jul 2016, 22:48Mmmk, well let me broaden the Discussion a bit more hopfully it can turn somthing up since i am current at a stand still on my little project
So heres where i am using the command (Text view not code view
Your inside your room, in your home.
{command:Rest} | {command:LookAround:Search}
There's a {Logic.CaptorType} sitting in a chair near your door
Day time is about {Logic.ToD}
And then here is the script for Rest
clear screen
msg ("You Decide to Take a Rest.<br/><br/>[Press any key to continue]")
wait {
do (DayTurns, "script")
}
This Command is Global.
Now when i click on Rest it Does nothing, No clear screen no extra script running, nothing, just stays on the original page it was before i had clicked, im not sure what more i can do without someones help, as this is somthing that i will need to have available to me to use for finishing this project, as any other method (unless visibly the same) is not a option, if anyone can tell me what i am doing wrong or if i need to do the Command script in another way to make it work how it needs to, i am all ears.
The Pixie
21 Jul 2016, 07:21I just pasted this into a room description:
Your inside your room, in your home.
{command:Rest} | {command:LookAround:Search}
And it worked fine. There is a default REST command, so the game should recognise either that (which it did for me) or yours.
I would guess the issue is in your commands, but even then I am having trouble seeing how. Could you paste the entire commands into a post (i.e., including the XML)?
silentgator
21 Jul 2016, 07:28I have basicly spent the day messing with it and it was getting caught on the Do task, i dont know how or why but i edited it to just be text and that seemed to fire, however i have substituted it with a split showmenu and am using that at the moment i can try to recreate the issue a little later, but ya seems like theres a chance the do code will cause issue.
Edit: Side note it did absolutly nothing leaving me to believe that something was blocking it up, however i am on the bench as to how it was causing such a issue.

R2T1
21 Jul 2016, 07:51Silentgator wrote
Your inside your room, in your home.
That should be You're inside your room, in your home.
silentgator
21 Jul 2016, 08:01Am aware of the grammar mistakes, but it isnt my current worry.