User Name:


Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Google, Vladaar, Yandex

Members: 1
Guests: 8
Newest Member
Today's Birthdays
There are no member birthdays today.
Related Links
Upload Rules File Index | Search | Recent Uploads
» Root » LoP » LoP Snippets
MPSleep (LOP)
Author Submitted by Version D/L File Size Date Added

Remcon Remcon 1.0 287 9.26 KB Jan 27, 2012

MpSleep 2.0 - Compiled by Dace K. (djdace.k@gmail.com)
Was installing mpsleep on a new codebase of mine, and decided to compile
a fixed up version for anyone having problems with mpsleep. This version
fixes the bugs involving else statements used after mpsleep, which the
original version would simply skip over.

Any license that the original code may have been under still applies to this
one - I assume it simply involves leaving the comments intact, and giving
credit where credit's due.

Credits go to:
RASMUS BROSBOEL : Original mpsleep code.
Olcerin : Nested ifcheck fix.
Odis/WhiteKnight : Fix for skipped elsechecks.
Gohan_TheDragonball : Final fix for mpsleep within ifchecks.
The mpsleep snippet allows allows you to delay the execution of your mud
programs for a number of pulses. This will make a mob telling a story able
to pause after every line, or just some, to make it seem like the mob is
actually talking to you, not just throwing 2 pages of text after you. This
command does not pause the mob/obj/room, only the program.
This command is useable anywhere you would like to delay a mudprogram
before it moves on to the next line.
>greet_prog 80~
say Greetings $n
mpsleep 6
say I have now paused for 6 pulses
mpsleep 4
say I have now paused for 4 pulses
Thats what was in the original one, but since I'm asked a lot about it figured might as well see what the issues were and just give a diff file of it.

Rating: | Download | Comments(0)