ValkrieStory
Log in or Register
ValkrieStory

We Shine

Search
 
 

Display results as :
 


Rechercher Advanced Search

Log in

I forgot my password



Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
September 2018
MonTueWedThuFriSatSun
     12
3456789
10111213141516
17181920212223
24252627282930

Calendar Calendar


You are not connected. Please login or register

Voting system in game!!!

Go down  Message [Page 1 of 1]

1 Voting system in game!!! on Sat Jun 05, 2010 7:26 pm

Boisara


Code:
/**
*This script has been made by
*SirDanielot
*
*/



var status = 0;
   
    function start() {
            status = -1;
            action(1, 0, 0);
    }
   
    function action(mode, type, selection) {
            if (mode == -1) {
                    cm.dispose();
            } else {
                    if (status == 0 && mode == 0) {
                            cm.sendOk("Come back when you want to vote for #bValkrieStory Here.#k");
                            cm.dispose();
                            return;
                    }
                    if (mode == 1)
                            status++;
                    else
                            status--;
                    if (status == 0) {
                            cm.sendYesNo("Hello #r#h ##k would you like to vote for #rValkrieStory Here?#k");
                    } else if (status == 1) {
                            cm.displayURL("http://www.gtop100.com/in.php?site=48454");
                cm.sendOk("Thank you for voting for #rValkrieStory here#k. We hope you vote again in 12 hours.");
                            cm.dispose();
                    }
            }
    } 

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum