What's new
  • When posting, please be aware that artistic nudity is still nudity and not allowed under RpNation rules. Please edit your pictures accordingly!

Tutorial RpNation - BBCode+ Guide

Idea

The Pun Tyrant The Gif Hydra
Helper
You can use bbscript 2 and use the setTimeout command to delay it.
Ok, so it said there that to use that, I needed to put version=2 on the script tag.

Where exactly in the script tag do I put it?
 

Alteras

The Sleepy One
Moderator
Supporter
Just after the class name. Make sure you use parentheses for all your commands too.
 

Alteras

The Sleepy One
Moderator
Supporter
In BBScript 2, all commands needs to be surrounded by parentheses.
Code:
[script class=Name version=2 on=click]
(addClass "class" "target")
(setTimeout 10 (group
       (= variable getText)
       (if (== variable "text") (addClass "class" "Target"))))
[/script]
 

Idea

The Pun Tyrant The Gif Hydra
Helper
In BBScript 2, all commands needs to be surrounded by parentheses.
Code:
[script class=Name version=2 on=click]
(addClass "class" "target")
(setTimeout 10 (group
       (= variable getText)
       (if (== variable "text") (addClass "class" "Target"))))
[/script]
Ah, thank you very much!
 

goldleaf

femme fatale
hi, i want to make a slideshow that goes to the next image when clicking the 'next' button, and that will go back to the start once you've reached the end, much like this.
in that example, i understand most of it, up until the javascript. normally, i would copy it and attempt to dissect it until i figured it out, but i'm unsure of how to translate it to BBScript, so i'm left feeling confused about how to proceed. i've done a few simple things with scripts on RPN, but nothing like this. any help would be appreciated. :)
 

Fyuri

ηεмσρнιℓιsт
Administrator
Supporter
hi, i want to make a slideshow that goes to the next image when clicking the 'next' button, and that will go back to the start once you've reached the end, much like this.
in that example, i understand most of it, up until the javascript. normally, i would copy it and attempt to dissect it until i figured it out, but i'm unsure of how to translate it to BBScript, so i'm left feeling confused about how to proceed. i've done a few simple things with scripts on RPN, but nothing like this. any help would be appreciated. :)
Look at experiment #3 & #4 here ;3 Accepting Requests - Lyrositor's Coding Repository
 

Users Who Are Viewing This Thread (Users: 4, Guests: 1)

Top