Cstrike
2010-07-01 09:17:34
If we have for example
Is my logic of this script correct?
1. It looks to see if
2. In game, the command checks to see if it is on the mage tab, if so, returns true
3. If in game, and it is not the magic tab, it clicks it, and returns true
4. If not in game for example, it cannot find the magic tab and thus returns false, writing "could not get to the magic tab"
Is my logic correct? Does that mean when you have
if [not] (function) then
It will call the function and try to match it to the desired boolean state?
Just trying to make failsafes, thanks!
PS: Is there any problem with that script? I just made it up now off the top of my head, if theres an error its a short circuit in my knowledge
if not Gametab(tab_Magic) then
Exit;
else
begin
writeln ('could not get to magic tab');
end;Is my logic of this script correct?
1. It looks to see if
Gametab(tab_Magic) is true or not, thus it executes the function to return a value2. In game, the command checks to see if it is on the mage tab, if so, returns true
3. If in game, and it is not the magic tab, it clicks it, and returns true
4. If not in game for example, it cannot find the magic tab and thus returns false, writing "could not get to the magic tab"
Is my logic correct? Does that mean when you have
if [not] (function) then
It will call the function and try to match it to the desired boolean state?
Just trying to make failsafes, thanks!
PS: Is there any problem with that script? I just made it up now off the top of my head, if theres an error its a short circuit in my knowledge