Alright. Let's say I rightclick on my bot's nickname on the nicklist, and below all the options, it has "send bar"

So I click on it and I get three popup boxes, one after the other

Input data, press OK, script sets %data1 with $?, next box comes up
Input data, press OK, script sets %data2 with $?, next box comes up
Input data, press OK, script sets %data 3, messages bot with %data1 %data2 %data3

I think I know how to make the menu come up, but I'm not sure how to make it open three boxes like that...