"[usr/npc] has died from a mysterious heart attack"
however if its misspelled or something then it says "odd, nothing happened."
Heres how i've been trying to write it tried to write it:
Deathnote
icon = 'deathnote.dmi'
verb
read()
set src in view(1)
usr << "Death Note: The name of the human who's name is written in this book shall die."
write(msg as text)
set src in view(1)
usr << "you write a name in the death note"
if (msg = bug)
Del(mob/bug)
world << "M has died of a mysterious heart attack"
other
usr << "odd, nothing happened"
naturally it didnt work and idk what im doing wrong, HELP PLEASE!!! i keep getting:
error 58: undefined var
error 59: undefined var
and a couple other errors like that
usr << "you write a name in the death note"
Then you need two "="s if you're checking something in an if() statement. M in
world << "M has died of a mysterious heart attack"
Should be in brackets.
The main problem is "bug" doesn't exist as a variable.