I tried like :
if player(id,"wiggle") then
do shit
end
walking = {} addhook('move','_move') function _move(id,x,y,walk) 	if player(id,walk) == 1 then 		walking[id] = true 		msg2(id,'You are walking') 	else 		walking[id] = false 		msg2(id,'You are running') 	end end
player(id,"name")
player(id,"walk")
if walk == 1 then -- walking