At first I had trouble learning this code [inkey$() to program keys to do certain commands](im new to programming) i finally figured it out and wanted to post it in case others needed it Smiling

Language: 
Dark Basic Pro
Code: 
make object cube 1,100
do
text 0,0,"1 = yrotate"
text 0,10,"2 = xrotate"
text 0,20,"3 = zrotate"
if inkey$()="1" then yrotate object 1,object angle y(1)+0.3
if inkey$()="2" then xrotate object 1,object angle x(1)+0.3
if inkey$()="3" then zrotate object 1,object angle z(1)+0.3
loop
2
Average: 2 (1 vote)