ID:145334
 
Code:Phrophet from Harry Potter (its the news paper)
     proc
Prophet()
return\
{"<html>
message
</html>"}

return
..()


Problem description:i want it as a verb and it wont work period.

obj/paper/verb/Read()
var/html={"
<html>
<style>Body{background: black; color: white;}</style>
<h1>News</h1>
<body>
Hello,<br><br>
This is your captain speaking, die!
</body/</html>"}

usr<<browse(html)

In response to Mysame
not in the browser, a seperate window is supposed to pop up
In response to VolksBlade
Use this


Use the options.
In response to Justin B
how do i make the window thing work with mysame's coding?
In response to Mysame
Problem with your code
Login().dm:19:error:browser:undefined proc thats on the
  usr<<browser(html)


and
Login().dm:14:error:Read :duplicate definition (conflicts with built-in proc) thats for the
obj/paper/verb/Read()


so please help
In response to VolksBlade
Euh, typing mistake.

Anyhow then

usr<<browse(html, "window='lookupinoptionsI'mnotmakingeverythingforyou'") // Fixes problem 1

obj/paper/verb/Read2()
set name="Read" // Fixed problem 2!
In response to Mysame
no problems!..exept for this one..i put your coding in and i fine tuned it because you wasnt going to hold my hand while i do my buiseness.. i got this only after i logged in (+ it didnt show no verb called read)

Warning: type read from file (/mob/verb/Instant_Kill) is not defined.
Warning: type read from file (/mob/verb/Reform) is not defined.
Warning: type read from file (/mob/verb/Spider) is not defined.
Warning: type read from file (/mob/verb/Scorpion) is not defined.
Warning: type read from file (/mob/verb/Panther) is not defined.
Warning: type read from file (/mob/verb/Lioness) is not defined.
Warning: type read from file (/mob/verb/Bear) is not defined.
Warning: type read from file (/mob/verb/Ant) is not defined.
Warning: type read from file (/mob/verb/Wolf) is not defined.
Warning: type read from file (/mob/verb/Dog) is not defined.
Warning: type read from file (/mob/verb/Mouse) is not defined.
Warning: type read from file (/mob/verb/White_Cat) is not defined.
Warning: type read from file (/mob/verb/Werewolf) is not defined.
Warning: type read from file (/mob/verb/Black_Cat) is not defined.
runtime error: wrong type of value for list
proc name: base LoadMob (/client/proc/base_LoadMob)
usr: ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter)
src: VolksBlade (/client)
call stack:
VolksBlade (/client): base LoadMob("Headmaster Silvn VolksBlade")
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): ChooseCharacterResult("Headmaster Silvn VolksBlade")
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): ChooseCharacterMenu(/list (/list))
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): ChooseCharacter()
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): Login()
runtime error: Cannot execute null.base CharacterNames().
proc name: ChooseCharacter (/mob/BaseCamp/ChoosingCharacter/proc/ChooseCharacter)
usr: ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter)
src: ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter)
call stack:
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): ChooseCharacter()
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): ChooseCharacterResult("Headmaster Silvn VolksBlade")
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): ChooseCharacterMenu(/list (/list))
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): ChooseCharacter()
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): Login()

the animal verbs i took out like before yesterday
In response to VolksBlade
Duh. You removed a verb and now you're trying to load those verbs.
In response to Mysame
how do i fix it?
In response to VolksBlade
Let's stop here and think logically.
You deleted a verb.
You have a savefile that trys to load the verbs

What do you do?
In response to Mysame
uhhhhhhhhhhh....i shoulda went to coding school..
In response to VolksBlade
There's a ton of demos and libs on that stuff. Look up "browser demo" in the search. Or look it up in F1 as Browser.

That should work

-NWIM-
In response to VolksBlade
He means delete the savefile...