The Dink Network

Reply to Re: help fudge

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
May 2nd 2011, 05:54 AM
wizardb.gif
Kyle
Peasant He/Him Belgium
 
The easiest way to do this is to create a new global variable in main.c and change the value when the script has run its course. At the start of the script check if the value of the global is its initial value or the new one you gave it. This will make it run only once

There's plenty of good starter tutorials available on this site, as well as the DinkC reference. And my best tip would be to remember where you've seen something you want in someone else's d-mod and check the source code for it to see how they did it