This for example:
mob
verb
spam(m as mob in world)
m << "<b><font color=red>SPAM. SPAM. SPAM</font></b>"
sleep(10)
(obviously I am not going to use that verb..... >.>)
Thanks, -= Dice =-
ID:167674
Feb 13 2006, 1:47 pm
|
|
How would I make something happen repeatedly until I stop it?
This for example: mob (obviously I am not going to use that verb..... >.>) Thanks, -= Dice =- |
In response to Mechanios
|
|
Ok I have that going now and I am using it for a few processes, but how do I stop it haha, I've tried but cant get it to stop.
Thanks .:: Dice1989 ::. |
In response to Dice1989
|
|
mob This will start when you call the proc and end once called a second time. |
In response to Exophus
|
|
src.trigger=1-src.trigger Better yet... trigger=!trigger |
Crappy examples. you don't even have to use mob vars. (Spamcount and Spam_max.) In the for() you can put a number instead of "M.spam_max"
Be sure to look up for() and while() in the DM Guide, or help file (F1 in Dream maker!)
-This is probly really confusing.-
Also, Dream Maker has predefined "\" uses. \red makes the whole text red.
\green = green
\blue = blue
etc. etc.
Saves up some typing time. =)