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