SHOW:
|
|
- or go back to the newest paste.
1 | ;Announce v1 by herculezz | |
2 | ||
3 | function main() | |
4 | { | |
5 | echo Running Announce v1 | |
6 | ||
7 | ;events | |
8 | Event[EQ2_onAnnouncement]:AttachAtom[EQ2_onAnnouncement] | |
9 | ||
10 | while 1 | |
11 | wait 10 | |
12 | } | |
13 | ||
14 | ;atom triggered when an announcement is detected | |
15 | atom EQ2_onAnnouncement(string Message, string SoundType, float Timer) | |
16 | { | |
17 | echo ${Time}:Announce: ${Message} | |
18 | - | ;if ${Message.Find[gnomish bolt (2/20)](exists)} |
18 | + | |
19 | - | ; echo yayaya |
19 | + | |
20 | { | |
21 | echo Ending Announce | |
22 | } |