Jon12345
01-25-2013, 11:01 AM
I have 3 bits of code, but I only want to run one at any one time. So, I figured I could do something like this:
choice=2
If choice=1 then
<run this code>
Else If choice=2 then
<run this code>
Else If choice=3 then
<run this code>
End If
I would just change the value assigned to the choice variable.
I can do this in visual basic but not sure how to do it in a vbulletin template. Any help from someone here?
I know I would have to login and edit the template each time I wanted to alter which bit of code ran. Is there any easier way that could avoid this time sapping login and search for template?
Thanks,
Jon
choice=2
If choice=1 then
<run this code>
Else If choice=2 then
<run this code>
Else If choice=3 then
<run this code>
End If
I would just change the value assigned to the choice variable.
I can do this in visual basic but not sure how to do it in a vbulletin template. Any help from someone here?
I know I would have to login and edit the template each time I wanted to alter which bit of code ran. Is there any easier way that could avoid this time sapping login and search for template?
Thanks,
Jon