Timestop CodeThis is a featured page

This is the Mush Timestop Code that Faraday coded up for me to use. She's such a sweetie :) I moved it over to Dark Metal and the code had to be fixed due to Rhost and Rad was kind enough to beat his head on the wall for several hours and get it fixed so I could use it. He is also working on updating it, at some point. I'd like to see more cool functions done, but I don't know code. If you use it and update it, be sure to keep the original coders in the information.

Mix/Shale

---------------------------------------------------------------------------------------
Mush Code


Timestop Object

CMD-+TMS-NEWTURN: .$+tms/newturn:@pemit/contents me=[u(func-timestop)] %N starts a new turn.[u(fun_new_turn)]
CMD-+TMS-NEXT: .$+tms/next:@pemit/contents me=u(Fun_next)
CMD-+TMS-ORDER: .$+tms/order *:@pemit me=[remit(me,<Timestop> %N sets the pose order to: [iter(%0,##,\,,\,%B)].)][set(me,order:[iter(%0,[squish(##)],\,,|)])][u(fun_new_turn)]
CURRENT: 8
FUN_CURRENT_PERSON: extract(v(order),v(current),1,|)
FUN_NEW_TURN: %r[u(func-timestop)] [ansi(rh, ***** NEW TURN *****)][set(me,current:0)][u(fun_next)]
FUN_NEXT: [set(me, <current:[inc(v(current))]>)][switch(v(current), >[words(v(order),|)], u(fun_new_turn), %r[u(func-timestop)] [ansi(h, u(fun_current_person))]'s turn to pose. Use +tms/next when finished. %r)]
Idesc([$]): [repeat(-,78)]%RTimestop is in effect here. Please observe pose order. The order is: %r[iter(v(order), %r[setq(0, rjust(#@., 3))][setq(1, ##)][ifelse(eq(#@, v(current)), ansi(ch, %q0 >>> %q1), %q0 %b %b %q1)], |)] %R%RCommands:%R%b %b +tms/order <names separated by commas> - Sets pose order and new round.%R%b %b +tms/next - Advances to the next person's turn.%R%b %b +tms/new - Starts a new round.%r%b %b +tms/reset - Resets the round counter.%R%RType '@set me=ansi' and '@set me=ansicolor' to see the color.%rType 'leave' to leave the timestop when you're done.%r[repeat(-,78)]%rCreated by Faraday 9-2007, recoded and expanded for Rhost by Rad 9-2007%r[repeat(-,78)]
ORDER: BrightClaw|Terror Wolf|Bloody-Mask|BloodClaw|Warfang|BCRage1|TerrorRage1|WarfangRage1|BCRage2|WarfangRage2|BCRage3|WarfangRage3
Startup($): @set me=commands
FUNC-TIMESTOP: ansi(ch, <Timestop>)
CMD-NOFUN-NEXT: $+tms/next:@trig me/nofun_next
NOFUN_NEXT: &current me=[inc(v(current))]; @switch v(current)=>[words(v(order),|)], {@trig me/nofun_new_turn}, {@pemit/contents me=[u(func-timestop)] [ansi(h, u(fun_current_person))]'s turn. Use +tms/next when finished. %r}
NOFUN_NEW_TURN: &current me=0; &round me=inc(v(round)); @pemit/contents me=[u(func-timestop)] [ansi(rh, ******* NEW ROUND: [v(round)] *******)]; @trig me/nofun_next
CMD-NOFUN-NEWTURN: $+tms/new*:@pemit/contents me=[u(func-timestop)] %N starts a new turn.; @trig me/nofun_new_turn
CMD-NOFUN-ORDER: $+tms/order *:@pemit/contents me=[u(func-timestop)] %N sets the pose order to: [squish(iter(%0, ##, \, ,\, %B))].; &order me=[iter(%0,[squish(##)],\,,|)]; @trig me/nofun_new_turn
ROUND: 4
CMD-NOFUN-RESET: $+tms/reset: @pemit/contents me=[u(func-timestop)] %N resets the round counter.; &round me=0; @trig me/nofun_new_turn


Shale
Shale
Latest page update: made by Shale , Dec 27 2007, 10:29 AM EST (about this update About This Update Shale Edited by Shale

4 words added

view changes

- complete history)
Keyword tags: code mush
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)