RaZgRiZ | 2012-04-07 22:08
CMD Flags
20
points ]
 (2 votes)
An introduction to command flags.

This is a simple and easy to use prototype function that is based on the principle of command flags. Simply put, it evaluates certain conditions in a certain order and executes an action when they are true.

It is a pretty clear and easy to understand system of how to use flags, and the comments i've added will make sure the dumbest of people could understand how it works. If you don't, i feel sorry for you.

Check out the two versions in the attachments below. One is for Justice and the other for the SVN of Sauerbraten. The SVN version has one extra flag, explains the use of the command 'local' and a slight change in the 'loopchar' command which is fundamental for its operation. Oh fun!

NOTE: You'll have to excuse my zipping of the files. I cannot change that setting on quadro without messing up the file upload limit.

cmdflag.zip (2.41 KB)
20
points
 (2 votes)
User login
Users on Quadropolis
1 guest & no users online
102
points ]
 (12 votes)
Created 2011-05-17 17:36
9 years 7 weeks ago
Getridou
30
points ]
 (3 votes)
Created 2020-07-02 18:52
6 days 13 hours ago
LURKing
20
points ]
 (2 votes)
Created 2020-07-01 13:16
1 week 18 hours ago
70
points ]
 (7 votes)
Created 2020-01-24 22:26
23 weeks 5 days ago
TheMisterCat
16
points ]
 (2 votes)
Created 2007-02-21 18:06
13 years 20 weeks ago
Created 2020-05-14 12:56
7 weeks 6 days ago
18
points ]
 (2 votes)
Created 2020-06-01 20:40
5 weeks 2 days ago
30
points ]
 (3 votes)
Created 2018-09-17 02:06
1 year 42 weeks ago
26
points ]
 (3 votes)
Created 2020-06-27 11:13
1 week 4 days ago
LURKing
40
points ]
 (5 votes)
Created 2020-05-09 17:56
8 weeks 4 days ago
30
points ]
 (3 votes)
Created 2020-06-13 21:05
3 weeks 4 days ago
7YearBitch
8
points ]
 (1 vote)
Created 2020-06-14 17:58
3 weeks 3 days ago
7YearBitch
44
points ]
 (5 votes)
Created 2020-06-02 09:43
5 weeks 1 day ago
LURKing
25
points ]
 (3 votes)
Created 2020-06-12 18:25
3 weeks 5 days ago
7YearBitch
15
points ]
 (2 votes)
Created 2020-06-07 14:58
4 weeks 3 days ago
7YearBitch
15
points ]
 (2 votes)
Created 2020-06-07 14:48
4 weeks 3 days ago
19
points ]
 (2 votes)
Created 2020-05-31 16:27
5 weeks 3 days ago
38
points ]
 (4 votes)
Created 2020-05-16 23:15
7 weeks 4 days ago
224
points ]
 (23 votes)
Created 2012-10-20 09:56
7 years 37 weeks ago
Gangler
10
points ]
 (1 vote)
Created 2020-05-12 22:59
8 weeks 1 day ago
Who's new
  • Getridou
  • Spr1te
  • Akari
  • LURKing
  • Antknee55