Hi, i juste discovered LFS lapper and airio and i choose to use the lapper! I want to do something very simple, but i must miss something. I have : RegisterNodeAction( "BL1" , 300 , DisplaySpeed,ExitDisplaySpeed ); that call's: DisplaySpeed and ExitDisplaySpeed.
I want that in the first use of the function DisplaySpeed, only the speed is displayed, for the other DisplaySpeed using i want to compare the speed and the top speed to set topSpeed and display a message accordingly.
Here what i did:
I'll use the $ancien (previous top speed) after resolving this..
The problem is that i dont know where to instance my $i variable ($i represent the # of times the function have been called) so it can be set outside the DisplaySpeed function otherwise it get's overwrited. I tryed to instance the $i in many places in the LFSlapper.lpr. Never got it working. (i tryed privMsg( "^7>( ^3" . $i . " ^7) "); to chek the $i value and it was ( ), empty)
I would need help please.
I think ill be able to code some very great ideas as soon as i figure out some details about the lapper.
ty
Olivier, Canada
I want that in the first use of the function DisplaySpeed, only the speed is displayed, for the other DisplaySpeed using i want to compare the speed and the top speed to set topSpeed and display a message accordingly.
Here what i did:
I'll use the $ancien (previous top speed) after resolving this..
The problem is that i dont know where to instance my $i variable ($i represent the # of times the function have been called) so it can be set outside the DisplaySpeed function otherwise it get's overwrited. I tryed to instance the $i in many places in the LFSlapper.lpr. Never got it working. (i tryed privMsg( "^7>( ^3" . $i . " ^7) "); to chek the $i value and it was ( ), empty)
I would need help please.
I think ill be able to code some very great ideas as soon as i figure out some details about the lapper.
ty
Olivier, Canada