ID:173464
 
how do I make a proc ...


like could just someone gimme an example how would I make a proc for like something called *procname*
Go read a tutorial.
A procedure is a block of code that you use frequently, and they go like this:

mob
Player
icon='Player.dmi'
verb
Suicide()
src.Death("Good Bye")
proc
Death(var/Message as text)
world<<"[src.name] has died!!! His last words were [Message]"
icon_state="Dead"

Let me explain everything:

mob
Player
icon='Player.dmi'
verb
Suicide() //<-- verb
src.Death("Good Bye") //<-- this calls the prodedure Death() and sets variable Message to "Good Bye"
proc
Death(var/Message as text) //<-- procedure
world<<"[src.name] has died!!! His last words were [Message]" //<--If the Death() procedure is called with the Suicide() verb, it will say: His last words were Good Bye
icon_state="Dead"
Majinveku wrote:
how do I make a proc ...

like could just someone gimme an example how would I make a proc for like something called *procname*

Yes, and they have. If you check the early chapters of the DM Guide, which now contains the entire Blue Book online, you'll see how a proc can be defined from scratch.

Lummox JR