ZBrushCentral

How do i keep script running never exit ?

[Sleep,0.001,
[MessageOK, awake]
[SleepAgain],
16 | 64 | 256| 512, SleepResult ]

I’m trying to keep Myscript running

but when i click other plugin’s button ,my script exit

SleepResult=512 , never wake up

Can you please point me what I’m doing wrong?

That’s a restriction of all zscripts and plugins, I’m afraid - there can only be one active at a time, so if you click on another plugin your script will always exit. There’s no way around it, unfortunately.