Easy NPC

Easy NPC

2M Downloads

[Feature Request] Button able to run multiple commands?

shiyanon opened this issue ยท 2 comments

commented

Just wondering if there was a way for one button to run multiple commands.

I'm currently trying to use EasyNPCs with FTB Quests where the NPC would 'give' the player quests by force completing it's dependency quest. I don't know how to explain it as it's a little bit confusing.

But it'd be nice if there was a way for a button to run more than one command so I could write '/ftbquests change_progress @p complete 66AD1EC0086095DE' then after '/ftbquests change_progress @p reset 44481AD274AB9641'

Not sure if it's already a thing I can do by linking two commands together so it counts as one since I'm new to playing around with mods. But if its not, could be a nice feature.

commented

The newest beta version allows adding multiple commands for the buttons and action events. ;)
See: https://ko-fi.com/post/Easy-NPC-New-action-system-L4L8103REH

commented

A solution I use for this is having the NPC either have multiple dialog lines that run separate commands or have the NPC command place a redstone torch that lights off a command block chain that then removes its own torch.