Jump to content
  • 0

Need help or suggestion callsub for agitstart


Question

Posted

i want to add on my script callsub for agitstart

if im using !agitcheck , its working fine .

Quote

S_CheckWOE:
    if (!agitcheck() || !agitcheck2() || !agitcheck3())  // < euphy controller 
        end; 

but if im using agitstart , its causing me error

Quote

S_CheckWOE:
if (agitstart() || agitstart2()) 
end;


is there any alternative for callsub for agitstart and agitstart2 instead of using euphy agitcheck

2 answers to this question

Recommended Posts

  • 0
Posted

agitstart(...) and agitcheck(...) are both different script command for different purpose.


*agitstart;
*agitend;
*agitstart2;
*agitend2;
*agitstart3;
*agitend3;

These commands will start and end War of Emperium FE, War of Emperium SE,
or War of Emperium TE.

This is a bit more complex than it sounds, since the commands themselves won't
actually do anything interesting, except causing all 'OnAgitStart:' and
'OnAgitEnd:', 'OnAgitStart2:' and 'OnAgitEnd2:', or 'OnAgitStart3:' and
'OnAgitEnd3:' in the case of latter two commands, events to run everywhere,
respectively. They are used as  simple triggers to run a lot of complex scripts
all across the server, and they, in turn, are triggered by clock with an
'OnClock<time>:' time-triggering label.
*agitcheck()
*agitcheck2()
*agitcheck3()

These function will let you check whether the server is currently in WoE:FE mode
(agitcheck()), WoE:SE mode (agitcheck2()), or WoE:TE mode (agitcheck3()) and will
return true if War of Emperium is on and false if it isn't.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...