suggestion for scripts db - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: General (/forumdisplay.php?fid=11) +---- Forum: Forum & Website (/forumdisplay.php?fid=13) +----- Thread: suggestion for scripts db (/showthread.php?tid=78818) suggestion for scripts db by roflmao456 on 11-06-2007 at 09:23 PM how about adding an Examples or Tutorials category so the new people who want to make their own script could look at some examples/tutorials RE: suggestion for scripts db by Sunshine on 11-06-2007 at 10:00 PM RE: suggestion for scripts db by MeEtc on 11-06-2007 at 10:25 PM
quote:yes, that would be useful, if there was anything useful on there. Sadly, there is very little content. I agree that it would be helpful, but I get more by browsing / searching the forum and looking at other scripts RE: suggestion for scripts db by Sunshine on 11-06-2007 at 10:36 PM
quote:Maybe if people started participating (again) and put stuff on it? Dempsey is updating the site, surely there's some ppl about here who can help with the content... (don't look at me...if i could i would...) RE: suggestion for scripts db by NanaFreak on 11-07-2007 at 05:16 AM I would help on those forums if it was active... and also maybe make some tutorials for windows =\ RE: suggestion for scripts db by Menthix on 11-07-2007 at 06:48 AM
quote:Agreed. Originally the Scripts DB would have had a tutorials section, but because Dempsey already made a good place for it and i don't want to do things double. All developer resources like tutorials, classes, editors and such should go to mpscripts and i'll happily link to there. The scripts forum here and the forum on mpscripts.net are a bit double though . RE: RE: suggestion for scripts db by Sunshine on 11-07-2007 at 12:22 PM
quote:If everybody thinks like that it'll never get active Besides it's not forums only, the website needs more content. Once that's there the site can get promoted more and forums will become active automaticly. There's plenty to do for those who can write Plus! scripts...like submit snippets, write tutorials.. quote: RE: suggestion for scripts db by -dt- on 11-07-2007 at 12:30 PM well people should make a list of what things they want tutorials for I would write a few if there was such a list RE: suggestion for scripts db by markee on 11-07-2007 at 01:10 PM
The biggest problem with trying to write tutorials is we are being asked so much already how to do stuff that we don't get much time to do it. Either that or we are too lazy. I can give some code snippets and that, but there has been some great posts on this forum that need to be collected and just written up I think rather than re-writing the info. RE: suggestion for scripts db by Dempsey on 11-07-2007 at 01:16 PM
quote:I dunno, I guess starting from scratch simple stuff like:
quote:yea exactly, I keep meaning to go through the script forum here and finding some snippets to put on mpscrips, but havent got around to it RE: suggestion for scripts db by markee on 11-07-2007 at 01:20 PM
quote:There are examples in the scripting documentation for each of them with their associated functions for the latter 2 and the first has its own page, I think it is falled "My First Script" RE: suggestion for scripts db by Menthix on 11-07-2007 at 01:32 PM
From own experience with the submitted scripts... I'd like to see tutorials on how to use /commands properly, see Need an example of proper /commands to show to other scripters, and something on a multi language class that allows easy translation, switching languages etc. RE: suggestion for scripts db by markee on 11-07-2007 at 01:45 PM
quote:I remember sending you a PM ages back telling you about the two methods, RegExp and using a split at the spaces. The RegExp is the only method I recomend these days, even if the person doesn't understand the code then they can just copy and use it, Cookies posts make things basically fail-safe. quote:This is quite difficult because there are many things that you can't just change the label of through a script and you have to edit the XML of the interface window before opening it. This is difficult and has to be made of a per script basis to get the naming of everything correct and understand the methods they use (all ui's in one XML or many XML's for example). What is easier however is using an interface folder with many XML all filled in and naming them like AboutWindow-en.xml and using the MsgPlus.UILangCode property (I accume by the property name that is the reason for having it). Although this isn't really a nice method for the translator, it is easier and more accurate for the script writer (although harder to update). RE: suggestion for scripts db by Matti on 11-07-2007 at 08:15 PM
quote:Well, I was able to translate everything used in my Log Manager script, from labels to ListView headers and tooltips (big credits to Eljay for these by the way! ). The only thing I have trouble with at the moment is that when I try to change the window's caption (the name appearing in the taskbar), Plus! automatically adds a title bar to your window, even if your XML didn't define that it should have one. Also, MenuButtonControl's menus can't be translated, however I can fix this by using ButtonControls who open a "standard" Windows menu (the gray one). But I wouldn't say that you can only make a script multilingual with the use of multiple XML files or XML re-writing, because it works good (and fast!) in my script. RE: suggestion for scripts db by markee on 11-07-2007 at 10:03 PM
quote:That's true, but it is A LOT of code that the user won't understand. You'll also have to get the using some standardised method in the ini file to be able to tell what kind of control each one is to be able to change it. I understand that it is possible, but for a new scripter those two methods are the best they'll understand. These scripts currently use different XML's for each language because they are in different scripts so it's not like it is too difficult to manage them in the way i recommended, it would just be a lot easier i think. However if you want to write up some code to do it your way then I'm not complaining RE: suggestion for scripts db by Matti on 11-08-2007 at 06:34 PM Well, I may try one day to merge the classes I use for my translation stuff together, so that script developers can use it to easily make a working, multilingual script. But I'd need a lot of time for that, so the earliest I could start on something similar would be during Christmas holidays... |