← Back to team overview

mudlet-makers team mailing list archive

[Bug 316587] Re: Script groups are created with superfluous junk in them

 

** Changed in: mudlet
       Status: Confirmed => Fix Released

-- 
Script groups are created with superfluous junk in them
https://bugs.launchpad.net/bugs/316587
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.

Status in Mudlet the MUD client: Fix Released

Bug description:
Every time you make a script group, you get this in the script field:

----------------------------------------------------------------------------------
-- This is the main function of the script that gets called if an event is raised 
-- for which this script has registered an event handler. It must have the same   
-- name as the script name.
--
--      *** DON'T FORGET TO ADJUST THE FUNCTION NAME TO THE SCRIPT NAME! ***
--
-- You can define any functions you like in addition to this function, but you must 
-- not remove it if you want your script to be called by the event system.
-----------------------------------------------------------------------------------
function New Script Group()

end

Script groups will be used for organisation 99% of the time. Having this in here as default just means that every time you make a new group you have to clear it out. They should be empty as default.