VladimirCastro Posted July 10, 2014 Group: Members Topic Count: 114 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 03/13/12 Last Seen: September 18, 2016 Share Posted July 10, 2014 new_1-1,57,116,4 script Hein 90,{ set .@n$, "[Seyra]"; setarray .@rwd[0],12211,10,12263,10,12210,5,7621,10; // Rewards: <item id>,<item amount> query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", .@lip$); if ( getd("$" + .@lip$ + "_NG") > 0 || #NewbieGift > 0) { mes .@n$; mes "I'm sorry, the rewards are exclusively for new players."; close; } mes .@n$; mes "Welcome! Here are some free gifts"; mes "for newcomers:"; for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 2 ) mes .@rwd[.@i+1] + " x " + getitemname(.@rwd[.@i]); close2; set #NewbieGift, 1; setd "$" + .@lip$ + "_NG", getd("$" + .@lip$ + "_NG") + 1; for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 2 ) getitem .@rwd[.@i], .@rwd[.@i+1]; end; OnInit: waitingroom "Newbie Gift!",0; end; } how can i add auto warp to prontera and auto save to prontera script is located in new_1-1 Quote Link to comment Share on other sites More sharing options...
EL Dragon Posted July 10, 2014 Group: Members Topic Count: 86 Topics Per Day: 0.02 Content Count: 591 Reputation: 146 Joined: 06/19/12 Last Seen: December 10, 2016 Share Posted July 10, 2014 new_1-1,57,116,4 script Hein 90,{ set .@n$, "[Seyra]"; setarray .@rwd[0],12211,10,12263,10,12210,5,7621,10; // Rewards: <item id>,<item amount> query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", .@lip$); if ( getd("$" + .@lip$ + "_NG") > 0 || #NewbieGift > 0) { mes .@n$; mes "I'm sorry, the rewards are exclusively for new players."; close; } mes .@n$; mes "Welcome! Here are some free gifts"; mes "for newcomers:"; for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 2 ) mes .@rwd[.@i+1] + " x " + getitemname(.@rwd[.@i]); close2; set #NewbieGift, 1; setd "$" + .@lip$ + "_NG", getd("$" + .@lip$ + "_NG") + 1; for ( set .@i, 0; .@i < getarraysize(.@rwd); set .@i, .@i + 2 ) getitem .@rwd[.@i], .@rwd[.@i+1]; save("prontera", 155, 181); warp "prontera", 155, 181; end; OnInit: waitingroom "Newbie Gift!",0; end; } 1 Quote Link to comment Share on other sites More sharing options...
VladimirCastro Posted July 10, 2014 Group: Members Topic Count: 114 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 03/13/12 Last Seen: September 18, 2016 Author Share Posted July 10, 2014 oh btw i added this one but it doesnt warp new_1-1,57,116,4 script Hein 90,{ set .@n$, "[Seyra]"; setarray .@rwd[0],12211,10,12263,10,12210,5,7621,10; // Rewards: <item id>,<item amount> query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + getcharid(3) + "", .@lip$); if ( getd("$" + .@lip$ + "_NG") > 0 || #NewbieGift > 0) { mes .@n$; mes "I'm sorry, the rewards are exclusively for new players."; close; warp "prontera", 156, 191; } because this script is 1 per account only so if they create new char they willl got stuck so i want them to get warped to prontera too Quote Link to comment Share on other sites More sharing options...
Question
VladimirCastro
how can i add auto warp to prontera and auto save to prontera script is located in new_1-1
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.