Okay so I found out a way to make your character "bug out" of the world. This is basically the buyrandompicks bug but you can go places without spawning back where you started ten minutes later.
A description of the effect: All monsters despawn (on your screen only), you can't aggro any monsters, and your health is frozen at the amount it's at. Also, your mana regeneration stops. I'm not sure if there are any other effects but that's all I've found so far.
Okay so here's how you do it (YOU NEED TWO ACCOUNTS FOR THIS):
Log onto both accounts and log into your characters (Character1 and Character2) and meet in some city (I used Stormwind).
Make a macro on Character1 that says:
Code:
/script AcceptTrade("1")
/script BuyRandomPicks("5")
Open a trade between the two characters and have the character2 (the one that does NOT have the macro) put up an item for trade and accept.
Now, go onto Character1 (the character that DOES have the macro) and click on the macro.
Go back to Character2 and cancel the trade. Now, log out. If everything is done right, you won't log out.
Character2 will now be "glitched" out of the game and can't aggro monsters but CAN cast spells. I still have some testing to do with mounts and hearthstones and portals and summons and such.