Author Topic: What would be the best way to start learning to script?  (Read 1312 times)

nameCheck.txt prevents stupids from changing the name of an addon and doing something stupid like claiming it's their own.

Basically, if the name of the zip doesn't match the name inside the nameCheck file, it isn't executed.
how stupid do you have to be to not change something named "namecheck.txt" when you rename an addon...

how stupid do you have to be to not change something named "namecheck.txt" when you rename an addon...
Which is why it has next to no practical purpose.

Which is why it has next to no practical purpose.
Isn't the purpose to make wrongly named add-ons not execute? Such as multiples, like Script_Blah(1) instead of just Script_Blah.

As in, if you need to target something using exec("add-ons/script_blah/blah.cs"); instead of exec("./blah.cs"); for whatever reason.

Now that I think about it, that's not very practical either...

Isn't the purpose to make wrongly named add-ons not execute? Such as multiples, like Script_Blah(1) instead of just Script_Blah.

As in, if you need to target something using exec("add-ons/script_blah/blah.cs"); instead of exec("./blah.cs"); for whatever reason.

Now that I think about it, that's not very practical either...
Script_Blah(1) won't work even if it isn't a duplicate or even if it doesn't have a namecheck file.

Script_Blah(1) won't work even if it isn't a duplicate or even if it doesn't have a namecheck file.
Cool story

use jookia's scripting guide, he teaches the basics.
i'm trying this now and i'm still kind of confused but i'm not completely lost
hooray

EDIT: i made a script that counts down in seconds from 10 when you type /countdown in the chat, i feel accomplished
« Last Edit: August 25, 2012, 06:00:30 PM by shyGriff »

EDIT: i made a script that counts down in seconds from 10 when you type /countdown in the chat, i feel accomplished
It took me months to get that far, so you should feel good about that.