Jump to content

New to Scripting


InActionMan64

Recommended Posts

  • Replies 76
  • Created
  • Last Reply

Top Posters In This Topic

https://geckwiki.com/index.php?title=GetRandomInRange

Int iRand

Begin (SomeThing)

 

Set iRand to GetRandomInRange 1 4

If iRand == 1

;Do this

elseif iRand == 2

;Do that

elseif iRand == 3

;Do the other

 

endif

END

 

~~~~~~~~~~~~~~~~~~

 

But seriously .... I don't know that array gettin jiggy with it modus operandi

 

Nope,

 

I literarily mean I can't figure out how to make a string that can be presented in a MessageBoxEx as a list.

 

dstring := String1 + String2 + String3

 

Messageboxex dstring

 

 

String1

String2

String3

 

Can figure out the carriage return ?

Link to comment
Share on other sites

I don't think " + " is supposed to be used like that ?

 

Did you see this version https://geckwiki.com/index.php?title=MessageBoxExAlt

 

So you use " | " But keep them inside of one set of quotes .

 

IDK just guessing :confused:

 

Nice idea but nope,

 

I'm already using that as an alternative, I was gonna have a multi-line report but instead went with a menu that includes the same data.

Link to comment
Share on other sites

 

I don't think " + " is supposed to be used like that ?

 

Did you see this version https://geckwiki.com/index.php?title=MessageBoxExAlt

 

So you use " | " But keep them inside of one set of quotes .

 

IDK just guessing :confused:

 

Nice idea but nope,

 

I'm already using that as an alternative, I was gonna have a multi-line report but instead went with a menu that includes the same data.

 

 

Well I'm glad somebody in this thread knows what's going on with string variables :pirate:

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...