Coding as expelliarmus.

You write a word,

and everything changes.

You write a word

and the user loses their wand.