MyBB Community Forums

Full Version: Plugin Modification Request
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I need a bit of help with a plugin.

I have a plugin which highlights a scripting language called JASS, but it isn't formatted to run on MyBB as a plugin (It's for vBulletin).

Could someone please convert this to a MyBB plugin?
How do you intend to process the source files?

Do you want to include this in a plugin to highlight files or data that you already have on your site?

Also, is there any license information on this code?

I would need more details before developping a plugin...
> Also, is there any license information on this code?

Open source (said the author of the original).

> Do you want to include this in a plugin to highlight files or data that you already have on your site?

To highlight any text inside this:
[jass] Code here [/jass]
Yes i can do it as a free plugin. Wink
Thanks you so much!
I would need some JASS code to test the plugin, can you post some code here or PM it to me?

Thank you!
function H2I takes handle h returns integer
    return h
    return 0
endfunction
function Init takes nothing returns nothing
    local trigger t = CreateTrigger()
    call BJDebugMsg(I2S(H2I(t)))
endfunction
Ok, have a look here to see if this is what you would expect to see using :

[jass]function H2I takes handle h returns integer
    return h
    return 0
endfunction
function Init takes nothing returns nothing
    local trigger t = CreateTrigger()
    call BJDebugMsg(I2S(H2I(t)))
endfunction[/jass]
Perfect! Works exactly the way it's supposed to!
Ok i will zip it up with the licence/readme files and post it on MyBBCodes.com i will then tell you how to download the file.

It will take just few minutes... Wink
Ok, it is done!

Go register to MyBBCodes.com and you will be able to download the file here.

Just PM me (exdiogene) before downloading the file! Smile