Originally posted by Advisable
They weren't working for me, and if they did work for me i would of left it alone. I will work on trying to get it to work though.
This menu is a very clever piece of coding but you need to take some time and read it through to understand how to use it.
Here is a very simple example..
This is from my clantag section
self addoption(M ,"Clan Tag - {Dv}",::doClan,"{Dv}");
self addoption(M ,"Clan Tag - {{}}",::doClan,"{{}}");
self addoption(M ,"Clan Tag - B@BY",::doClan,"B@BY");
The first bit "Clan Tag - {Dv}" is what is displayed in the menu.
The second bit ::doclan calls the function below
The third bit , "{Dv}" sets the variable in the function (choice) and sets the clantag
You then have this function
doClan(choice){self setclientdvar("clanname",choice);}
It works the same for the stats menu..