WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Use script only once

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Scripts
View previous topic :: View next topic  
Author Message
missfiss



Joined: 30 May 2008
Posts: 1

Digg It
PostPosted: Fri May 30, 2008 7:32 pm    Post subject: Use script only once

wrote this easy script... but it doesn't work... I want to make the wiimote rumble the first time i plug the CC in not all the time the CC is plugged in.

Code:
var.Cla = wiimote.expansion

if var.Cla = 3 then
var.game = 1
var.wmp = 0
wiimote.rumble = 1
wait 1 s
wiimote.rumble = 0

else

var.game=0
var.wmp =1
wiimote.rumble = 1
wait 1 s
wiimote.rumble = 0
Endif
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Scripts All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group