i use commands similar to :
int mouseclick = dbMouseClick();
int spritecollide = dbSpriteCollision(iMySprite, 0);
dbText(0, 5, dbStr(dbCameraPositionX()));
dbText(0, 20, dbStr(dbCameraPositionY()));
dbText(0, 35, dbStr(dbCameraPositionZ()));
dbText(0, 50, dbStr(mouseclick));
dbText(0, 65, dbStr(spritecollide));
to display camera/mouse/keypressed commands all the time
The above code will set an integer "mouseclick" to hold the values of the mouse buttons being clicked, and spritecollide holds the value of any sprite that comes into collision with "iMySprite", then we simply display the values of the Camera X, Y, Z positions, and the values of "mouseclick" and "spritecollide" using the dbText() function, obtaining its char* value by calling the dbStr() function to convert the integers "mouseclick" and "spritecollide" aswell as those returned by calling dbCameraPosition() to char* values useable by dbText()
If it ain't broke.... DONT FIX IT !!!