SRL Archive - MSI Archives

Team Scripting for MSI


Sir R. M8gic1an

2009-04-22 22:51:52

Well, first and foremost I am no professional at team scripting, but there are some basics which we can all agree too. And this is supposed to be a guide that will grow in time, with tips and experience ;)

- Use Standards ! A code which can not be read by others is of no use to a team
- Separate the functions into various levels so others can use them too

eg.

Function TimeRunning: string;
begin
//code...
end;

//what is wrong with this? You will only be able to use it for how long it has been running!

//what is good then?

Function TimeToString(ms: Integer): string;
begin
//code...
end;

Function TimeRunning: string;
begin
Result := TimeToString(GetTimeRunning);
end;

- Name the Functions / Procedure appropriately !
– eg Function DoThatThingy –> DraynorFishToBank;

- Comment your Funcs & Procs! Make it easier for your script-mates to edit it and understand it

- Share the work load

- Agree to a format!


no time to write more atm

~RM

ShowerThoughts

2009-04-23 00:31:24

Agreed, but what are we making? - 1 :p

Special Ed

2009-04-23 00:34:04

I also think it's important to sign your comments in a script so people know who to talk to to explain things or get advice from.


//Special Ed - You need to do this blah blah blah blah....

ShowerThoughts

2009-04-23 00:34:47

MSI irc :D

lordsaturn

2009-04-23 01:28:45

#srl:msi?

mormonman

2009-04-23 01:36:47

#srl:karaproject is the one for the karamja fisher…