ID:1027745
 
(See the best response by AJX.)
I got this error when using switch() for alert():

conversation.dm:11:error: alert: expected 1 to 6 arguments (found 7)

What's only allowing up to 6 arguments, and why?
Best response
Internal limits, built into the alert proc.

It wouldn't be able to handle more buttons than it gives you the option to include, because it'd run out of space and need to either add a slider or some method to compensate for the excess menu options.

If you want to have more options than the limit, you need to either use a different functionality (grids are handy dandy for this sort of thing), or you can make the last option in the alert() proc a "More" button, which will bring up a second alert() with different options. (and I suggest one of those options be a "Back" button. ;) )

Other than grids, another choice if you want more than 3 buttons you can use is the input() proc.
I'm using it for a multiple response conversation with NPC's. So I was hoping to be able to have more than 3 buttons. But yeah, I guess alert() isn't really designed for that sort of thing. I'll use interface windows instead, thanks for the help, appreciate it.
In response to Zerok Kaiba
Zerok Kaiba wrote:
I'm using it for a multiple response conversation with NPC's. So I was hoping to be able to have more than 3 buttons. But yeah, I guess alert() isn't really designed for that sort of thing. I'll use interface windows instead, thanks for the help, appreciate it.

input() is a built in functionality like alert(), that allows more options. The reason I mention it last is because I personally don't like the look of it. But it will more than serve the purpose you're looking for.