Код


[function firemove_on]
if <flags>&STATF_ArcherCanMove
say  You are already in fire moving mode !
return 1
elseif <archery> < 1000
say You don't have enough archery
return 1
else
flags |= STATF_ArcherCanMove
say You enter in fire moving mode !
return 1
endif

[function firemove_off]
if <flags>&STATF_ArcherCanMove
flags &= ~ STATF_ArcherCanMove //remove the flag
say You leave fire moving mode !
endif
return 1