I have been trying query items from servers this way: user types id, lets say 20**, and after that addon queries all items with id from 2000 all way to 2099. But no luck, even with my close to none coding experience...
Does anyone have any ideas how this would be possible?
Also question number two, is there any way to query quests to .wdb like querying items?
I'm not sure if you could automate a script or addon to automatically query multiple items. Blizz isn't fond of that kinda thing and it can cause disconnects.
A simple solution from the sounds of it may be Fizzwidget's Linkerator. Install that, type "/link item name or ID " and you're good to go.
For question number two... sorry, haven't the faintest idea on that one.
__________________
Retired prior to 3.2, before all challenge was removed.
There is no API for the quest cache, you can only get at the processed details in the user's questlog.
As for forced queries, the big question is why? I've seen only a small handful of reasons to force this in game and risk disconnection. In most cases the user is better off going to a datamine site like wowhead.