Entra a la sala que tu menciones tan solo diciendo el nombre de la sala.
Script:
;In addition, place the last section, only, in rooms where you want this function.
ON SIGNON
{
;Roomlist - say a room name and be taken to the room
;Say "roomlist" to get a list of the rooms you can go to
;This is an OUTCHAT script.
roomlist GLOBAL
{ [
;**********room definitions**********
;place room names and numbers here in form: [ roomname roomnumber ] [ roomname roomnumber ]
[ "gate" 86 ]
;**********end of room definitions**********
] roomarray =
{ temparray =
{ "" CHATSTR =
temparray 1 GET GOTOROOM
} CHATSTR temparray 0 GET == IF
} roomarray FOREACH
{ "\x0dType the name of the room you want to go to:\x0d"
{ temparray =
temparray 0 GET & "\x0d" &
} roomarray FOREACH LOGMSG
"" CHATSTR =
} CHATSTR "roomlist" == IF
} roomlist DEF
}
**Pon este script en el Gate**
Pon la sig. seccion en los rooms solo donde se va a usar este script para que asi funcione.
;Enable gate functions.
ON OUTCHAT { roomlist GLOBAL roomlist EXEC }