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
2 guests & no users online
10
points ]
 (1 vote)
Created 2019-10-16 01:26
5 days 21 hours ago
15
points ]
 (2 votes)
Created 2019-10-11 23:29
1 week 2 days ago
Gangler
17
points ]
 (2 votes)
Created 2019-10-10 16:26
1 week 4 days ago
26
points ]
 (3 votes)
Created 2019-10-08 02:25
1 week 6 days ago
5
points ]
 (1 vote)
Created 2019-10-08 13:32
1 week 6 days ago
Gangler
42
points ]
 (5 votes)
Created 2019-09-23 23:48
3 weeks 6 days ago
Fatality
39
points ]
 (4 votes)
Created 2019-09-28 02:57
3 weeks 2 days ago
Fatality
39
points ]
 (5 votes)
Created 2019-08-13 23:33
9 weeks 5 days ago
Fatality
55
points ]
 (6 votes)
Created 2019-08-13 23:36
9 weeks 5 days ago
RaZgRiZ
40
points ]
 (4 votes)
Created 2019-08-05 17:12
11 weeks 5 hours ago
27
points ]
 (3 votes)
Created 2018-02-13 11:00
1 year 35 weeks ago
87
points ]
 (9 votes)
Created 2011-09-04 02:41
8 years 7 weeks ago
20
points ]
 (2 votes)
Created 2019-06-25 17:55
16 weeks 6 days ago
30
points ]
 (3 votes)
Created 2019-05-17 21:51
22 weeks 3 days ago
Kretrens
44
points ]
 (5 votes)
Created 2019-05-08 05:38
23 weeks 5 days ago
Sauce
45
points ]
 (5 votes)
Created 2018-08-22 19:15
1 year 8 weeks ago
65
points ]
 (8 votes)
Created 2018-07-12 17:59
1 year 14 weeks ago
7YearBitch
47
points ]
 (6 votes)
Created 2019-03-07 23:20
32 weeks 3 days ago
Ao1 Pointblank
57
points ]
 (6 votes)
Created 2019-04-28 17:57
25 weeks 1 day ago
17
points ]
 (2 votes)
Created 2018-12-04 15:42
45 weeks 6 days ago
Who's new
  • Antknee55
  • gmiz
  • impala97
  • Fixxxer
  • Gangler