I found a bug. When i write command "WM CONNECT ()", appears an error "Failed to load DLL(1: DBPro_Wiimote_Plugin.dll)". Without this command, my script just commpile and turn off.
load object "sword.x",1
load object "dom.x",2
xold = wm acc x()
yold = wm acc y()
zold = wm acc z()
do
x = wm acc x() - xold
y = wm acc y() - yold
z = wm acc z() - zold
position object 1,x,y,z
rotate object 1,wm acc raw x(),wm acc raw y(),wm acc raw z()
loop
Is this normal?
PS At the moment i dont have communication with Wiilote. I must buy BH