Jump to content
  • 0

help script in freebies npc


unknownuser

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   0
  • Joined:  10/13/13
  • Last Seen:  

please help me to script freebies npc with commands that single account per free items .

Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  


prontera,155,181,5 script Sample 718,{

    if( !#Freebies ) {

        set #Freebies,1;

        mes "Welcome...this is your gift...";

        getitem 607,10;

        getitem 7539,10;

    } else {

        mes "You have claim the Reward already.";

    }

    close;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   0
  • Joined:  10/13/13
  • Last Seen:  

sir not working ;(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  205
  • Reputation:   19
  • Joined:  10/12/12
  • Last Seen:  

The script seems fine.

Be sure you have added the proper tabulations in the header.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   0
  • Joined:  10/13/13
  • Last Seen:  

what is header tabulations //

?/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  205
  • Reputation:   19
  • Joined:  10/12/12
  • Last Seen:  

each part of the header are separated by tabulations (made with the TAB key) and not spaces.

TAB is the key above the CAPLOCK one.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  47
  • Reputation:   0
  • Joined:  01/16/12
  • Last Seen:  

here's mine ready to use.. :))



//http://roscripts.go-forum.net/
//An open site where you can share and download some helpful RO Scripts.
//===================================================================
prontera,157,197,5    script    Freebies    811,{
    
    if(#freebie_quest == 0){
    mes "[Admin Zratinel]";
    mes "Nice to meet you "+ strcharinfo ( 0 ) +", my name is Zratinel";
    mes "Welcome to ^E066FFRegime Ragnarok Online!^000000";
    mes "I see that you're new here so to help you out I'd like to give you these";
    mes "items as a gift to show how much we appreciate you here!";
next;
    mes "[Paulinds]";
    mes "Have fun!";
    getitem2    2394,1,1,0,0,0,0,0,0;
    getitem2    2444,1,1,0,0,0,0,0,0;
    getitem2    2549,1,1,0,0,0,0,0,0;
    getitem2    2772,1,1,0,0,0,0,0,0;
    getitem2    5377,1,1,0,0,0,0,0,0;
    getitem2    5518,1,1,0,0,0,0,0,0;
    getitem2    2202,1,1,0,0,0,0,0,0;
    getitem2    2763,1,1,0,0,0,0,0,0;
    getitem2    2548,1,1,0,0,0,0,0,0;
    getitem2    2137,1,1,0,0,0,0,0,0;
    getitem2    4493,1,1,0,0,0,0,0,0;
    getitem2    4494,1,1,0,0,0,0,0,0;
    getitem2    4480,1,1,0,0,0,0,0,0;
    getitem2    4058,1,1,0,0,0,0,0,0;
    getitem2    4133,1,1,0,0,0,0,0,0;
    set Zeny,Zeny+5000000;
    set #freebie_quest,1;
    savepoint "prontera",155,181;
next;
    announce "Let's welcome " + strcharinfo(0) + " for joining our server ! ",0;
    warp "prontera",155,181;
    close;
    }

if(#freebie_quest == 1) {
    mes "[Zratinel]";
    mes "Have fun in ^E066FFRegime RO!^000000";
next;
    warp "prontera",155,181;
    close;
    }
    
}

Edited by Patskie
Change to code
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

sir not working ;(

prontera,155,181,5<TAB>script<TAB>Sample<TAB>718,{
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   0
  • Joined:  10/13/13
  • Last Seen:  

here's mine ready to use.. :))
//http://roscripts.go-forum.net/
//An open site where you can share and download some helpful RO Scripts.
//===================================================================
prontera,157,197,5    script    Freebies    811,{
    
    if(#freebie_quest == 0){
    mes "[Admin Zratinel]";
    mes "Nice to meet you "+ strcharinfo ( 0 ) +", my name is Zratinel";
    mes "Welcome to ^E066FFRegime Ragnarok Online!^000000";
    mes "I see that you're new here so to help you out I'd like to give you these";
    mes "items as a gift to show how much we appreciate you here!";
next;
    mes "[Paulinds]";
    mes "Have fun!";
    getitem2    2394,1,1,0,0,0,0,0,0;
    getitem2    2444,1,1,0,0,0,0,0,0;
    getitem2    2549,1,1,0,0,0,0,0,0;
    getitem2    2772,1,1,0,0,0,0,0,0;
    getitem2    5377,1,1,0,0,0,0,0,0;
    getitem2    5518,1,1,0,0,0,0,0,0;
    getitem2    2202,1,1,0,0,0,0,0,0;
    getitem2    2763,1,1,0,0,0,0,0,0;
    getitem2    2548,1,1,0,0,0,0,0,0;
    getitem2    2137,1,1,0,0,0,0,0,0;
    getitem2    4493,1,1,0,0,0,0,0,0;
    getitem2    4494,1,1,0,0,0,0,0,0;
    getitem2    4480,1,1,0,0,0,0,0,0;
    getitem2    4058,1,1,0,0,0,0,0,0;
    getitem2    4133,1,1,0,0,0,0,0,0;
    set Zeny,Zeny+5000000;
    set #freebie_quest,1;
    savepoint "prontera",155,181;
next;
    announce "Let's welcome " + strcharinfo(0) + " for joining our server ! ",0;
    warp "prontera",155,181;
    close;
    }

if(#freebie_quest == 1) {
    mes "[Zratinel]";
    mes "Have fun in ^E066FFRegime RO!^000000";
next;
    warp "prontera",155,181;
    close;
    }
    
}

 

 

When im adding this script we are always error :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Post error

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  47
  • Reputation:   0
  • Joined:  01/16/12
  • Last Seen:  

im using that script on my new server and its working properly..
here's another one.. i didnt edit anything here..
Download link from my mediafire : http://www.mediafire.com/download/8kalkdz5d23gs11/freebies.txt

 //http://roscripts.go-forum.net///An open site where you can share and download some helpful RO Scripts.
//===================================================================
prontera,157,197,5    script    Freebies    811,{
    
    if(#freebie_quest == 0){
    mes "[Admin Zratinel]";
    mes "Nice to meet you "+ strcharinfo ( 0 ) +", my name is Zratinel";
    mes "Welcome to ^E066FFRegime Ragnarok Online!^000000";
    mes "I see that you're new here so to help you out I'd like to give you these";
    mes "items as a gift to show how much we appreciate you here!";
next;
    mes "[Paulinds]";
    mes "Have fun!";
    getitem2    2394,1,1,0,0,0,0,0,0;
    getitem2    2444,1,1,0,0,0,0,0,0;
    getitem2    2549,1,1,0,0,0,0,0,0;
    getitem2    2772,1,1,0,0,0,0,0,0;
    getitem2    5377,1,1,0,0,0,0,0,0;
    getitem2    5518,1,1,0,0,0,0,0,0;
    getitem2    2202,1,1,0,0,0,0,0,0;
    getitem2    2763,1,1,0,0,0,0,0,0;
    getitem2    2548,1,1,0,0,0,0,0,0;
    getitem2    2137,1,1,0,0,0,0,0,0;
    getitem2    4493,1,1,0,0,0,0,0,0;
    getitem2    4494,1,1,0,0,0,0,0,0;
    getitem2    4480,1,1,0,0,0,0,0,0;
    getitem2    4058,1,1,0,0,0,0,0,0;
    getitem2    4133,1,1,0,0,0,0,0,0;
    set Zeny,Zeny+5000000;
    set #freebie_quest,1;
    savepoint "prontera",155,181;
next;
    announce "Let's welcome " + strcharinfo(0) + " for joining our server ! ",0;
    warp "prontera",155,181;
    close;
    }

if(#freebie_quest == 1) {
    mes "[Zratinel]";
    mes "Have fun in ^E066FFRegime RO!^000000";
next;
    warp "prontera",155,181;
    close;
    }
}
Edited by Patskie
Change to code
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  11/26/13
  • Last Seen:  

Posted · Hidden by Patskie, December 26, 2013 - Kinda rude
Hidden by Patskie, December 26, 2013 - Kinda rude

stop posting script if not working annoying -_-

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...