Welcome to the Builder Academy

Question Could use some trigger help

More
30 Apr 2018 06:38 - 30 Apr 2018 06:39 #8000 by JTP
I have a visible closed exit, doorname is stone.

If i dont want people to be able to type open Stone, but instead type push Stone to open the exit. How would i go about doing that ?
Last edit: 30 Apr 2018 06:39 by JTP.

Please Log in or Create an account to join the conversation.

More
30 Apr 2018 14:02 #8002 by krell
Replied by krell on topic Could use some trigger help
You could probably get away with using command and possibly teleport triggers. I might give it a go when I get home from work today and see how, or even if, it turns out.

Please Log in or Create an account to join the conversation.

More
30 Apr 2018 14:47 #8003 by JTP
Replied by JTP on topic Could use some trigger help
Dont want teleport

I just need to prevent the usage of open and just allow push stone

Please Log in or Create an account to join the conversation.

More
30 Apr 2018 15:25 #8004 by krell
Replied by krell on topic Could use some trigger help

JTP wrote: Dont want teleport

I just need to prevent the usage of open and just allow push stone


I don't know if I have the correct syntax but couldn't you use something like the following snippet of pseudo code to prevent using open to open the door?
Code:
If cmd.mudcommand == open && arg /=* return 0

Please Log in or Create an account to join the conversation.

More
30 Apr 2018 15:30 #8005 by JTP
Replied by JTP on topic Could use some trigger help
Ah that might be possible

Please Log in or Create an account to join the conversation.

More
30 Apr 2018 15:36 #8006 by JTP
Replied by JTP on topic Could use some trigger help
Guess i need 2 room triggers one to prevent and one for push ?

Or Could it be made in one trigger ? Not strong with if/elseif/ends in triggers

Please Log in or Create an account to join the conversation.

Time to create page: 0.191 seconds