[CLOSED] RB 1100AHx2 ROS6.28 DHCP script problem

I am trying to use dhcp script funcionality and I could not manage to make it work as it is described here: http://wiki.mikrotik.com/wiki/Manual:IP/DHCP_Server

I try simple script and there is no logged info:

:log debug (“DHCP Script changed $leaseActIP”)

Have you got any working example for this ? Wrong ROS version ?

Resolved… I have no idea why I have had problem.

Mikrotik scripting environment it;s kind a buggy sometimes, past days i had a problem with a global variable i was unable to erase it from ‘environment vars’ either from console or from gui only a reboot do it.. so yes sometimes behave strangely.

The problem was even with simple :log info “txt” in the new script as all “old” were OK. Suddenly … bang … all scripsts are working.

Strings must be always in quotes.
Global variables can be removed with command :set myVar;