Register to post in forums, or Log in to your existing account
 
:
Search found 2 matches for:
Page 1 of 1
Author Message
  Topic: suggestions for a macro in cmud
sharhazad

Replies: 3
Views: 3842

PostForum: CMUD General Discussion   Posted: Fri Aug 28, 2015 6:35 am   Subject: suggestions for a macro in cmud
best way for that would be a string list

#ALIAS shuffleCards {cards="Ace of Hearts|Two of Hearts|etc|etc"}
#ALIAS randomCard {
$num=%random(1, %numitems(@cards))
$thisCard=%item(@cards, $num)
# ...
  Topic: suggestions for a macro in cmud
sharhazad

Replies: 3
Views: 3842

PostForum: CMUD General Discussion   Posted: Thu Aug 27, 2015 6:52 am   Subject: suggestions for a macro in cmud
Ok i need a hand at coding a shuffling program in cmud as a macro or button

I need to take 66 cards get a random card number then put that card in the deck . Then i need to do this another 65 time ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net