ZCMD & strcmp
#1

Alright so simple question.

I know that you cannot use ZCMD & strcmp in same script etc. but can you for example use strcmp in one thing and zcmd in your filterscript or such?
Reply
#2

Why cannot you use ZCMD and strcmp together in the same script?

As far as I know, ZCMD provides a callback which is fired after a command is either executed or not. In this callback, simply check if the command was successfully executed or not. If not, run your string comparisons.

As simple as that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)