Help me with a particular messagebox

Post » Fri Jan 27, 2017 7:14 am

If a mod comes with a messagebox, I tend to go into the CS and remove them, to me they're intrusive and unneccesary and can ruin a mod if overdone.

The mod in question is http://mw.modhistory.com/download-1-9321, which tells you what you've picked any time you pick up an ingredient (yeah I know it was kreshweed I picked up :P)

See scripts -

Messagebox, "You have gathered %.0f Luminous Russulas.", PickAmount

Messagebox, "You have gathered 1 Violet Coprinus." ; Modify

Im basically wondering what do "modify" and "pickamount" mean at the end of each line? Most other messageboxes are just the messagebox command and the line itself.

Can I delete the whole line or should I leave those last parts in?

User avatar
Juan Cerda
 
Posts: 3426
Joined: Thu Jul 12, 2007 8:49 pm

Post » Fri Jan 27, 2017 10:03 am

"Modify", or anything after a semicolon in a script, is just a comment that does nothing. PickAmount is a variable containing the amount of ingredients you picked, and the "%.0f" is substituted with it when the messagebox is displayed. You can just delete the whole line.

User avatar
Laurenn Doylee
 
Posts: 3427
Joined: Sun Dec 03, 2006 11:48 am

Post » Fri Jan 27, 2017 12:47 am

Thanks ;)

User avatar
Anthony Santillan
 
Posts: 3461
Joined: Sun Jul 01, 2007 6:42 am

Post » Fri Jan 27, 2017 11:21 am

or just throw a semicolon in front of the offending line. that's simpler and easier to reverse should you feel nostalgic for message spam.
User avatar
jaideep singh
 
Posts: 3357
Joined: Sun Jul 08, 2007 8:45 pm


Return to III - Morrowind