Zantetsuken
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Zantetsuken
-
-
Requesting to edit this script.
Script gives permission to level 99 GMs to assign streamers, I just need a script that will give them supply everyday or every week. Pls see script i found.
Thank you in advance
- script STREAMER_SUPPLY FAKE_NPC,{ OnInit: bindatcmd("registerStreamer", strnpcinfo(3) + "::OnRegisterStreamer", 99); bindatcmd("unregisterStreamer", strnpcinfo(3) + "::OnUnregisterStreamer", 99); end; OnRegisterStreamer: OnUnregisterStreamer: if(.@atcmd_numparameters < 1) dispbottom("Usage: " + .@atcmd_command$ + " <charname>"); .@switch = (.@atcmd_command$ == "@registerStreamer") ? 1 : 0; charcommand("#set " + .@atcmd_parameters$[0] + " #STREAMER " + .@switch); } prontera,124,201,1 script Streamer Supplies 726,{ mes "[ Streamer Supplies ]"; mes "You are " + ((#STREAMER == 0) ? "no" : "an") + " Streamer!"; close; }
-
how did you fix it? having the same dilema
-
On 11/9/2014 at 12:55 AM, Winz said:
getitem 13534,2; // 2x Light White Potion Box getitem 13810,2; // 3x Light Blue Potion Box getitem 12208,1; // 1x Field Manual getitem 12215,5; // 5x Blessing Scroll getitem 12216,5; // 5x Agi Scroll switch(rand(0,3)){ // 4 choices: no bonus, Mask, Glove, Belt case 1:if(rand(0,100) < 15) getitem 5482,1; break; // player will get Dark Knight Mask. but, 15% chance (random, 0~99. if number is < 15, get) case 2:if(rand(0,100) < 5) getitem 2780,1; break; // player will get Dark Knight Glove. but, 5% chance (random, 0~99. if number is < 5, get) case 3:if(rand(0,100) < 5) getitem 2780,1; break; // player will get Dark Knight Belt. but, 5% chance (random, 0~99. if number is < 5, get) default: end;} // player did not get any bonus
Sorry for hijacking this thread but where exactly should I put this?
Help with this Streamer Supply NPC
in Script Requests
Posted
registerstreamer command suddenly dont work unlike the first script. Is it possible that the streamer needed to click the NPC to get reward and they dont get the rewards automatically?