Jump to content
Nexus Mods Official Soundtrack - The Sounds of Modding ×

New to Scripting


InActionMan64

Recommended Posts

  • Replies 76
  • Created
  • Last Reply

Top Posters In This Topic

  On 6/4/2022 at 12:43 AM, Mktavish said:

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

  On 6/5/2022 at 11:22 AM, Mktavish said:

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

  On 6/5/2022 at 5:17 PM, InActionMan64 said:

 

  On 6/5/2022 at 11:22 AM, Mktavish said:

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...