New features: switch/case
Moderator: Moderators
Re: New features: switch/case
Nice Feature! Macro Plugin getting more and more Flexible now!
Re: New features: switch/case
has it been implimented? i updated my macro through svn and it didn't recognize the switch statement. i used the sample in the wiki to test.
Re: New features: switch/case
maybe i just need a fresh copy. even the 'elseif' can't be recognized. i'll let you know if i made it workKeplerBR wrote:
You updated the address of SVN? Here worked perfectly.
Re: New features: switch/case
well it's working now. maybe something wrong with my old copy (i did change the svn url to the new one).
one question though. why is it that the folder structure of macro plugin differs when i download the entire plugin folder and when i only download the macro plugin. it's like this:
entire plugins folder download:
let's call this example A
plugins
|-- macro
| |-- branches (with subfolders)
| |-- deprecated
| |-- tags (with subfolders)
| |-- trunk
| | |-- Macro
| | |-- test
| | |-- macro.pl
wherein if i get the direct svn url of the macro plugin:
let's call this example B
plugins
|-- macro
| |-- Macro (with subfolders)
| |-- test
| |-- macro.pl
the problem here is that openkore won't load the macro plugin on example A because he doesn't look for it in the trunk folder.
one question though. why is it that the folder structure of macro plugin differs when i download the entire plugin folder and when i only download the macro plugin. it's like this:
entire plugins folder download:
let's call this example A
plugins
|-- macro
| |-- branches (with subfolders)
| |-- deprecated
| |-- tags (with subfolders)
| |-- trunk
| | |-- Macro
| | |-- test
| | |-- macro.pl
wherein if i get the direct svn url of the macro plugin:
let's call this example B
plugins
|-- macro
| |-- Macro (with subfolders)
| |-- test
| |-- macro.pl
the problem here is that openkore won't load the macro plugin on example A because he doesn't look for it in the trunk folder.
Re: New features: switch/case
The reason is that the SVN is for developers.
branches: folder to store codes on developments
deprecated: outdated files and no longer supported in the latest versions
tags: other versions
trunk: last version of the code currently in use and
branches: folder to store codes on developments
deprecated: outdated files and no longer supported in the latest versions
tags: other versions
trunk: last version of the code currently in use and
Re: New features: switch/case
i see now. so it's best to just checkout the macro trunk rather than getting it from the plugins folder checkout. thanks!KeplerBR wrote:The reason is that the SVN is for developers.
branches: folder to store codes on developments
deprecated: outdated files and no longer supported in the latest versions
tags: other versions
trunk: last version of the code currently in use and