https://www.tibiawindbot.com/docs.ht...ons-screenshot
screenshot ( optional string filename , optional boolean worldonly , optional number quality )
Takes a screenshot of the entire client window. If filename is not specified, a filename with the character name and the current date and time will be created. Optionally, you can pass the worldonly parameter as true to only save the game world portion of the screen. Optionally, you can specify a quality level from 1-99 if you want the screenshot to be saved in JPEG format. On Windows Vista/7, the client does not need focus for the screenshot to work. On Windows XP, the client is made the topmost window before the screenshot is being taken and then it is returned to normal. In both cases, WindBot's HUDs will not be visible on the screenshot and the client must also not be minimized. The screenshot will be stored in the '/screenshots' folder.
screenshot('name.jpg', false, 1) - dosnt work
screenshot('name.jpg', false, 50) - dosnt work
screenshot('name.jpg', false, 99) - dosnt work
screenshot('name, false) - works BMP (5,64 MB)
screenshot('name.jpg', false) - works - made name.jpg.bmp (5,64 MB)