For some reason or another I can't get this mptransfer to work... hope someone can tell me if I'm doing something wrong.
> speech_prog p evil~
mpmset $n align -1000
say Then it is done, your choice has been made.
mpecho A dark cloud envelopes you, instantly you feel an evil glow about yourself.
if isevil($n)
mptransfer $n 201
mpecho You are swept away before you can blink.
endif~
I have one for evil, good, and neutral, the player must choose his/her alignment. The alignment change works, just not the transfer.
I even tried "mptrans 0.$n 201" which I've seen around sometimes... it doesn't work either.
I've also tried it without anything but "mptrans 0.$n 201" or "mptransfer $n 201" ... that doesn't work either.
Do I need a certain flag in the room to be able to transfer people out of it... or does the mob need a certain flag to be able to transfer players?
If your working from a shell check the logs to see what it says when it trys to execute the prog, or just pay attention to the log channel when you do it.
Just some checing here. I tried this on my mud and I got this error:
You say 'evil'
A cook says 'Then it is done, your choice has been made.'
A dark cloud envelopes you, instantly you feel an evil glow about
Log: [*****] FILE: $ LINE: 0
Log: [*****] BUG: Mptransfer - No such location, Mob #9409.
You are swept away before you can blink.
Now, this is just mine. For 1, 201 doesn't exist. Perhaps you may wan't to check on that. Make sure the room is there. Also, one other thing you might check is that if the room is there, but isn't installed, make sure it's loaded. Other then that, I'm at a loss. Sorry I haven't been much help, but perhaps you just need to go check on room 201 and see whats happening there.
You say 'evil'
A newly created testmob says 'Then it is done, your choice has been made.'
A dark cloud envelopes you, instantly you feel an evil glow about yourse
Yeah, the room is there and installed... this is the craziest thing. I wonder if the problem might be because the area is above the players level... an immortal can transfer and just get the warning about the player is in an area above his level... but perhaps it won't let a mob do it... I will see and let you all know.
K... I got it working... my area was set at level 1 ... the players that come in there have been advanced by the autoadvancer and are level 2... I changed the area to level 2 and it works great.