Welcome to the Builder Academy

Question Could use some trigger help

More
30 Apr 2018 15:40 #8007 by krell
Replied by krell on topic Could use some trigger help
I think it should be possible to combine the necessary conditions and commands into a single trigger. I've done it, but I'm at work atm (and should technically be working - shhhhhh). Check out Parma's triggers on the tbamud server for some ideas and reference.

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

More
30 Apr 2018 20:13 - 30 Apr 2018 20:48 #8008 by JTP
Replied by JTP on topic Could use some trigger help
Tried this to begin with...didnt work open still works :(
Code:
Name: 'dont allow open', VNum: [10544], RNum: [ 1468] Trigger Intended Assignment: Rooms Trigger Type: Command , Numeric Arg: 100, Arg list: None Commands: if %cmd.mudcommand% == open && arg /=* return 0 %send% %actor.name% You can't open that. end also tried other variations like: Name: 'dont allow open', VNum: [10544], RNum: [ 1468] Trigger Intended Assignment: Rooms Trigger Type: Command , Numeric Arg: 100, Arg list: op Commands: if %arg% == stone %send% %actor.name% You can't OPEN that. return 0 end
Last edit: 30 Apr 2018 20:48 by JTP.

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

More
30 Apr 2018 21:07 #8009 by krell
Replied by krell on topic Could use some trigger help
Try "Arg list: +" perhaps as a start?

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

More
30 Apr 2018 21:11 #8010 by JTP
Replied by JTP on topic Could use some trigger help
Still allows to use open

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

More
30 Apr 2018 21:17 #8011 by krell
Replied by krell on topic Could use some trigger help
Okay. I'm still at work. I'll throw something together tonight and have a go at it.

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

More
30 Apr 2018 21:18 #8012 by JTP
Replied by JTP on topic Could use some trigger help
Alright Thanks

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

Time to create page: 0.283 seconds