Hello,
this is my first thread here so please don't flame me for things i may do wrong
, i didn't found something similar posted here.
The game contains lottery commands since some patch before BC (i think 1.11), is saw it on World of Warcraft API - WoWWiki, the Warcraft wiki.
I used one of the commands i found there and something wierd happened: it seems like i lost synchronisation with the server but didn't get a disconnect. The chat was still working.
The script:
/script BuyRandomPicks("5");
What you can do with this script:
-Explore areas or instances without fear of being killed by mobs
-Don't get dismounted at playes where you can't ride normally
-Other things i didn't find out yet
leave a comment if you find more
Other uses:
http://www.mmowned.com/forums/wow-ex...t-section.html
http://www.mmowned.com/forums/wow-ex...nt-screen.html
What you cant do after typing it in:
-Use spells or items
-Attack
-Your moving is client-side only
-No new mobs spawn if you walk deeper into an instance or an area
After you type it in, your moving will be client-side only. You will get a disconnect after 10 minutes or so, and after this disconnect you will be where you typed in the script again.
I swear it found it out myself, hope you like it 
If you believe Knorrsuppe (see page 4), this can be used for duping!
Edit: Added link to wowwiki.com
Edit 2: It seems as if the other lottery commands would have no function, the only thing that i noticed is that if you type
Code:
/script DEFAULT_CHAT_FRAME:AddMessage(GetPastDrawResult(1));
you'll get returned zero, but in an black-colored default chat frame, but i don't know why it is black.