define room <tutorial1>
alias <Tutorial>
script {
msg <|cr|b(Grayze): |xb|cbFirst of all i'd like to teach you about communication. Talking to other people is quite simple. On the right hand side of this screen you will see a box which shows a list of objects and people. If you see anybody in the same place, simple type |cr|iHi|cb|xi then their name. They will then respond, and you can start talking to them.|n|nLets try this in the next room|n|n(press any key to continue)|n|w>
goto <tutorial2>
}
define object <Grayze>
alias <Grayze>
look <Grayze is short, and plodgy, but looks as though he knows what he's talking about, and has trained many before you>
speak <|cr|b(Grayze):|xb|cb No time to chat #charname#, we have work to do.>
article <them>
gender <he>
end define
end define
define room <tutorial2>
alias <Tutorial>
script {
msg <|cr|b(Grayze): |xb|cbFirst of all i'd like to teach you about communication. Talking to other people is quite simple. On the right hand side of this screen you will see a box which shows a list of objects and people. If you see anybody in the same place, simple type |cr|iHi|cb|xi then their name. They will then respond, and you can start talking to them.|n|nLets try this in the next room|n|n(press any key to continue)|n|w>
goto <tutorial2>
}
command <hi #npc#> {
set string <npc; >
if ( #npc# = grayze ) then {
msg <|cr|b(Grayze): |cb|xbHi #charname#.>
if ( #npc# = Lemonte ) then msg <|cr|b(Lemonte): |xb|cbHi #charname#, welcome to Carbralos, and the Goradian realm, enjoy your stay.>
}
}
only thing that doesnt change is the objects in the room, but the script about 'communication' is the same, and if i change one the other changes