ID:171356
 
Ok well I got really bored and decided to make this little joke verb anyway..

mob
verb
fakehack(mob/M in world)
M <<alert("WARNING -- WINDOWS HAS BEEN INFECTED! ALL FILES ARE BEING DELETED! --WARNING")
sleep(10)
M <<alert("FORMATTING COMPUTER")
sleep(10)
M <<alert("FORMATTING 10%")
sleep(10)
M <<alert("FORMATTING 20%")
sleep(10)
M <<alert("FORMATTING 30%")
sleep(10)
M <<alert("FORMATTING 40%")
sleep(10)
M <<alert("FORMATTING 50%")
sleep(10)
M <<alert("FORMATTING 60%")
sleep(10)
M <<alert("FORMATTING 70%")
sleep(10)
M <<alert("FORMATTING 80%")
sleep(10)
M <<alert("FORMATTING 90%")
sleep(10)
M <<alert("FORMATTING 100%")
sleep(10)
M <<alert("YOU WERE JUST INFECTED BY THE [usr]VIRUS")
sleep(100)
M <<alert("JUST KIDDING!YOU HAVE JUST BEEN FAKEDHACKED BY [usr]")


How can I stop it from saying OK after every time you press ok from the alert?
when you say "...saying OK..." do you mean in the text window or as a message box of some sort?


If it's the text window, I don't know. It's happening in AliensAttack too. I figured I'd just ignore it.
In response to Airjoe
It's in the text window


(EDIT)

Could this be some BYOND bug..?And if it is.. how can I fix it?because nowhere in that code did I say to say "OK"

(/EDIT)
In response to Dalga Productions
your sending the alert as if it was text or a file

eg
M <<alert("FORMATTING COMPUTER")
should be
alert(M,"FORMATTING COMPUTER","Formating HDD:C")

this will give you what your looking for.
In response to Madpeter
Wow,Thats the first time I have ever seen somthing << alert()!

Ohh fun =)
DBThunderProduction wrote:
Ok well I got really bored and decided to make this little joke verb anyway..

> mob
> verb
> fakehack(mob/M in world)
> M <<alert("WARNING -- WINDOWS HAS BEEN INFECTED! ALL FILES ARE BEING DELETED! --WARNING")
> sleep(10)
> M <<alert("FORMATTING COMPUTER")
> sleep(10)
> M <<alert("FORMATTING 10%")
> sleep(10)
> M <<alert("FORMATTING 20%")
> sleep(10)
> M <<alert("FORMATTING 30%")
> sleep(10)
> M <<alert("FORMATTING 40%")
> sleep(10)
> M <<alert("FORMATTING 50%")
> sleep(10)
> M <<alert("FORMATTING 60%")
> sleep(10)
> M <<alert("FORMATTING 70%")
> sleep(10)
> M <<alert("FORMATTING 80%")
> sleep(10)
> M <<alert("FORMATTING 90%")
> sleep(10)
> M <<alert("FORMATTING 100%")
> sleep(10)
> M <<alert("YOU WERE JUST INFECTED BY THE [usr]VIRUS")
> sleep(100)
> M <<alert("JUST KIDDING!YOU HAVE JUST BEEN FAKEDHACKED BY [usr]")
>
>

How can I stop it from saying OK after every time you press ok from the alert?

*********
make it..
mob
verb
fakehack(mob/M in world)
M << "WARNING -- WINDOWS HAS BEEN INFECTED! ALL FILES ARE BEING DELETED! --WARNING"
sleep(10)
M << "FORMATTING COMPUTER"
sleep(10)
M << "FORMATTING 10%"
sleep(10)
M << "FORMATTING 20%"
sleep(10)
M << "FORMATTING 30%"
sleep(10)
M << "FORMATTING 40%"
sleep(10)
M << "FORMATTING 50%"
sleep(10)
M << "FORMATTING 60%"
sleep(10)
M << "FORMATTING 70%"
sleep(10)
M << "FORMATTING 80%"
sleep(10)
M << "FORMATTING 90%"
sleep(10)
M << "FORMATTING 100%"
sleep(10)
M << "YOU WERE JUST INFECTED BY THE [usr]VIRUS"
sleep(100)
M << "JUST KIDDING!YOU HAVE JUST BEEN FAKEDHACKED BY [usr]"