I apologise in advanced incase this is a stupid question, but how exactly do you use/make a cookie?

I know what cookies are, but have no clue how to make/use them in mirc.

I am asking because I am making a script for a Webgame, which requires me to: cookie a specific item

Thanks for your help
Philip