Difference between revisions of "GetAltControl"

3 bytes added ,  09:49, 12 June 2008
→‎Notes: Fixed script to use 65535 io -1
imported>Haama
(→‎Notes: Removed short note)
imported>Haama
(→‎Notes: Fixed script to use 65535 io -1)
 
<pre>short button
set button to getAltControl 4 ; attack button
if ( button != -165535 )
set button to ( button - 255 ) / 256 + 256
endif</pre>
Anonymous user