Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 Couple bugs
Yesterday, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, DotBot, Google

Members: 0
Guests: 19
Stats
Files
Topics
Posts
Members
Newest Member
477
3,705
19,232
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
Files
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 268 9.26 KB Jan 27, 2012

Description
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.
===========================================================================
Introduction:
------------
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.
Example:
>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)