diff options
author | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-04 23:25:09 +0000 |
---|---|---|
committer | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-04 23:25:09 +0000 |
commit | 195dffc20af1fb32c7e4119988911b72955aeabc (patch) | |
tree | b60d2a5e72d64dc5fc21eb9ce0962631e774a4c9 /npc/guild/ev_agit_event.txt | |
download | hercules-195dffc20af1fb32c7e4119988911b72955aeabc.tar.gz hercules-195dffc20af1fb32c7e4119988911b72955aeabc.tar.bz2 hercules-195dffc20af1fb32c7e4119988911b72955aeabc.tar.xz hercules-195dffc20af1fb32c7e4119988911b72955aeabc.zip |
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@2 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild/ev_agit_event.txt')
-rw-r--r-- | npc/guild/ev_agit_event.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/npc/guild/ev_agit_event.txt b/npc/guild/ev_agit_event.txt new file mode 100644 index 000000000..49946d92d --- /dev/null +++ b/npc/guild/ev_agit_event.txt @@ -0,0 +1,41 @@ +//===== eAthena Script =======================================
+//= War of Emperium - WoE Auto-Start
+//===== By: ==================================================
+//= kalen (1.0)
+//= 1.1 by Akaru and ho|yAnge|
+//===== Current Version: =====================================
+//= 1.2
+//===== Compatible With: =====================================
+//= eAthena 0.1+; RO Episode 4+
+//===== Description: =========================================
+//= Auto Start for War of Emperium
+//=============================================
+//= gettime(3): Gets hour (24 hour time)
+//= gettime(4): Use it if you only want to have WoE start on
+//= certain days.
+//= 1=Monday, 2=Tuesday, 3=Wednesday, 4=Thursday, etc.
+//===== Additional Comments: =================================
+//= v1.1a changed OnInit to OnAgitInit.[kobra_k88]
+//= v1.2 added gettime checks. removed $AgitStarted var.[kobra_k88]
+//============================================================
+
+// Auto Start Agit NPC
+- script Agit_Event -1,{
+ end;
+
+OnAgitInit:
+ if(gettime(3) >= 21 || gettime(3) < 11) goto L_Stop;
+
+OnClock1100:
+// if(gettime(4)!=1 || gettime(4)!=3 || gettime(4)!=6) end;
+ Announce "The War Of Emperium has begun!",8;
+ AgitStart;
+ Break;
+
+OnClock2100:
+L_Stop:
+// if(gettime(4)!=1 || gettime(4)!=3 || gettime(4)!=6) end;
+ Announce "The War Of Emperium is over!",8;
+ AgitEnd;
+ Break;
+}
|