Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-10-24 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog

War3:Source

War3Source Races => Races / Items - Ideas for new races and discussion => Topic started by: alex0310 on February 04, 2012, 03:38:44 AM



Title: Proposed standard - short name for "war3menu" etc.
Post by: alex0310 on February 04, 2012, 03:38:44 AM
I use alternative for call "war3menu" on my server. it's "w3s". Players can use both "w3s" and "war3menu". I propose add also "sh1" for shopmenu and "sh2" for "shopmenu2"
Code:
else if(CommandCheck(arg1,"war3menu"))
{
W3CreateEvent(DoShowWar3Menu,client);
return returnblocking;
}
else if(CommandCheck(arg1,"w3s"))
{
W3CreateEvent(DoShowWar3Menu,client);
return returnblocking;
}
and
Code:
CommandCheck(arg1,"war3menu") ||
CommandCheck(arg1,"w3s") ||
it's my opinion...
what you think?


Title: Re: Proposed standard - short name for "war3menu" etc.
Post by: Vulpone on February 04, 2012, 04:21:52 AM
use the second option with the logical or operator.

the first option is a waste of space and just costs us additional ~6 lines. :OOOOOOOOOOOOOOOOOOOO
but sure, why not..


Title: Re: Proposed standard - short name for "war3menu" etc.
Post by: alex0310 on February 04, 2012, 04:47:46 AM
use the second option with the logical or operator.

the first option is a waste of space and just costs us additional ~6 lines. :OOOOOOOOOOOOOOOOOOOO
but sure, why not..
I agreed)))
I did it quickly... copy/paste..   for example.

more importantly!
that all was understood idea


Title: Re: Proposed standard - short name for "war3menu" etc.
Post by: Ownz on February 06, 2012, 10:09:34 PM
svn that


Title: Re: Proposed standard - short name for "war3menu" etc.
Post by: alex0310 on February 07, 2012, 01:12:47 AM
svn that
I'll do it
completed