Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lotto Ticket Help
Author Message
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #1
Lotto Ticket Help
im trying to store numbers...

Code:
[6460]
ID=0ff3
//small open book facing SE
NAME=Lotto Ticket               Drawing on:               Friday Feb. 21st 2014
COLOR=ALL_COLORS
TYPE=0

MORE={1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 1 }
MORE2={10 1 11 1 12 1 13 1 14 1 15 1 16 1 17 1 18 1 19 1 }
MOREX={20 1 21 1 22 1 23 1 24 1 25 1 26 1 27 1 28 1 29 1 }
MOREY={30 1 31 1 32 1 33 1 34 1 35 1 36 1 37 1 38 1 39 1 }
MOREZ={40 1 41 1 42 1 43 1 44 1 45 1 46 1 47 1 48 1 49 1 }
BUYVALUE=1000

ONTRIGGER=DCLICK
MESSAGE Your Lotto Numbers are <MORE> - <MORE2> - <MOREX> - <MOREY> - <MOREZ>
RETURN 1

CATEGORY=DRAGONS OF TIME ITEMS
SUBSECTION=Lotto
DESCRIPTION=Lotto Ticket


the problem is, MORE and MORE2 stores them in HEX, so when you dclick it to see the numbers it, it shows hex

any idea how to get it to show in decimal?
or a different way to do this?


thanks

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 02-18-2014 03:41 AM by x77x.)
02-18-2014 03:41 AM
Find all posts by this user Like Post Quote this message in a reply
Feeh
Sphere Developer
*****

Posts: 156
Likes Given: 6
Likes Received: 40 in 29 posts
Joined: Sep 2012
Reputation: 4



Post: #2
RE: Lotto Ticket Help
<eval <more>>

Feeh/Epila - Nightly releases / SphereWiki / Github Issues / Sphere's GitHub
02-18-2014 04:38 AM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #3
RE: Lotto Ticket Help
???

example please

Dragons of Time 2000-2020
http://dragonsoftime.com
02-18-2014 05:16 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #4
RE: Lotto Ticket Help
IDK if <eval > exists in this decrepit version, but the example is this : message=Your lotto numbers are <eval <more>> - <eval <more2>>...
02-18-2014 05:49 AM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #5
RE: Lotto Ticket Help
nope, no eval with 51a

Dragons of Time 2000-2020
http://dragonsoftime.com
02-18-2014 06:30 AM
Find all posts by this user Like Post Quote this message in a reply
evening
Journeyman
*

Posts: 137
Likes Given: 0
Likes Received: 14 in 9 posts
Joined: Apr 2012
Reputation: 1

Finally Land

Post: #6
RE: Lotto Ticket Help
ONTRIGGER=dclick
var.red=<valstr(rand(32) + 1)>
var.red2=<valstr(rand(32) + 1)>
var.red3=<valstr(rand(32) + 1)>
var.red4=<valstr(rand(32) + 1)>
var.red5=<valstr(rand(32) + 1)>
var.red6=<valstr(rand(32) + 1)>
var.blue=<valstr(rand(14) + 1)>
src.sysmessage <var.red> <var.red2> <var.red3> <var.red4> <var.red5> <var.red6> <var.blue>
03-12-2014 11:13 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
jdchixin
Journeyman
*

Posts: 51
Likes Given: 9
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #7
RE: Lotto Ticket Help
<valstr<more>>
07-17-2014 04:32 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)