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

War3:Source
September 21, 2012, 09:53:41 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Proposed standard - short name for "war3menu" etc.  (Read 382 times)
alex0310
Full Member
***
Posts: 170



View Profile
« 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?
Logged
Vulpone
Full Member
***
Posts: 140



View Profile Email
« 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..
Logged

Sapere aude!
alex0310
Full Member
***
Posts: 170



View Profile
« 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 » Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #3 on: February 06, 2012, 10:09:34 PM »

svn that
Logged

DarkEnergy
alex0310
Full Member
***
Posts: 170



View Profile
« Reply #4 on: February 07, 2012, 01:12:47 AM »

svn that
I'll do it
completed
« Last Edit: February 07, 2012, 06:02:23 AM by alex0310 » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!