Author Topic: Proposed standard - short name for "war3menu" etc.  (Read 2119 times)

alex0310

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • http://forum.cmepiii.ru/
Proposed standard - short name for "war3menu" etc.
« 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: [Select]
else if(CommandCheck(arg1,"war3menu"))
{
W3CreateEvent(DoShowWar3Menu,client);
return returnblocking;
}
else if(CommandCheck(arg1,"w3s"))
{
W3CreateEvent(DoShowWar3Menu,client);
return returnblocking;
}
and
Code: [Select]
CommandCheck(arg1,"war3menu") ||
CommandCheck(arg1,"w3s") ||
it's my opinion...
what you think?

Vulpone

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • Email
Re: Proposed standard - short name for "war3menu" etc.
« Reply #1 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..
Sapere aude!

alex0310

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • http://forum.cmepiii.ru/
Re: Proposed standard - short name for "war3menu" etc.
« Reply #2 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
« Last Edit: February 04, 2012, 04:59:29 AM by alex0310 »

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: Proposed standard - short name for "war3menu" etc.
« Reply #3 on: February 06, 2012, 10:09:34 PM »
svn that

alex0310

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • http://forum.cmepiii.ru/
Re: Proposed standard - short name for "war3menu" etc.
« Reply #4 on: February 07, 2012, 01:12:47 AM »
« Last Edit: February 07, 2012, 06:02:23 AM by alex0310 »