Computer controlv5.00

From WiiLi

Jump to: navigation, search
/*
////////////////////////////////////////////////////////////////////////////////
///////////////////////// computer controll v5.00 //////////////////////////////
////////////////////////////////////////////////////////////////////////////////
all you neet to know the script will tell you exept iff you hond down eny key
it will atempt to close glovepie down */
if wiimote.leds != 1 or 2 or 4
debug = "press home for option 1, one for two or two for three"
else
debug = " "
endif
if DoubleClicked (wiimote.home)
wiimote.leds = 1
debug = "controll (1)"
endif
if DoubleClicked (wiimote.one)
wiimote.leds = 2
debug = "controll (2)"
endif
if DoubleClicked (wiimote.two)
wiimote.leds = 4
debug = "controll (3)"
endif
if doubleclicked (wiimote.B)
wiimote.leds = 8
debug = "controll (4)
endif
if wiimote.leds = 1
key.Up = wiimote.Up
down = wiimote.Down
left = wiimote.Left
right = wiimote.Right
enter = wiimote.home
mouse.LeftButton = wiimote.A
mouse.RightButton = wiimote.B
endif
if wiimote.leds = 2
Cursor2.CursorPosX = var.x2
Cursor2.CursorPosY = var.y2
if wiimote.Right then var.x2++
if wiimote.left then var.x2--
if wiimote.Up then var.y2--
if wiimote.Down then var.y2++
enter = wiimote.Home
mouse.LeftButton = wiimote.Minus
mouse.RightButton = wiimote.Plus
Cursor1.Visible = true
endif
if wiimote.leds = 4 and wiimote.InByte4 >= 140
key.up = true
endif
if wiimote.leds = 4 and wiimote.InByte4 <= 115
key.down = true
endif
if wiimote.leds = 4 and wiimote.InByte3 >= 140
key.Right = true
endif
if wiimote.leds = 4 and wiimote.InByte3 <= 115
key.Left = true
key.Enter = wiimote.A
mouse.rightclick = wiimote.b
endif
if HeldDown (key.AnyKey,2s)
wait 2s
key.Alt = true
key.F4 = true
endif
if wiimote.leds = 8
key.volumeup = wiimote.up
key.volumedown = wiimote.Down
key.PlayPause = wiimote.A
key.Forward = wiimote.up
key.MyComputer = HeldDown (wiimote.one and wiimote.Two,2s)
endif
Personal tools
Online Casino - best online casino reviews.
Facebook Developers - facebook applications, facebook developers, facebook development, social network application development and viral widget social media strategy