I am trying to set my Verb()'s into another panel other then the default verb panel.....but i can't seem to find out how to do it right.......I was told to use set category = "verb2" after a Verb() here is an example.
mob/verb/Say(msg as text) set category = "Chat"
view() << "[usr] says, [msg]"
but this give's me 8 errors.......when i take out set category = "Chat". it's 0 errors....can someone tell me how to do it right? or the right code to use?
ps. Please post an example thanks.
ID:151167
Feb 27 2001, 2:44 pm
|
|
In response to Spastic
|
|
On 2/27/01 4:49 pm Spastic wrote:
On 2/27/01 4:44 pm Darkness wrote: Thanks oh and do anyone know how i can make a Reboot poc i tryed it like this: verb/reboot() reboot << world i also tryed: verb/reboot(world) is there code to make a verb like this? |
In response to Darkness
|
|
On 2/27/01 4:58 pm Darkness wrote:
Thanks oh and do anyone know how i can make a Reboot poc mob/verb/reboot() spawn() world.Reboot() Also, if you want to make it so only you can reboot (so other people in the game can't go around rebooting at will), try something like this (substitute your key): mob/rebooter key = "Your Key" verb/reboot spawn() world.Reboot() And finally, you can type ".debug reboot" and achieve the same effect if you are hosting your world locally. Then you don't even have to worry about making a reboot verb at all. |
In response to Air Mapster
|
|
On 2/27/01 5:04 pm Air Mapster wrote:
On 2/27/01 4:58 pm Darkness wrote: ya I know about .debug reboot I just needed the code to make it a DM command....well thanks |
Try dropping set category = "Chat" to the next line: e.g.
mob/verb/Say(msg as text)
set category = "Chat"
view() << "[usr] says, [msg]"