case 1:
next;
mes .n$;
mes "Ok, please input the item # to be the payment for joining the game.";
next;
input .@itemid;
if (getitemname(.@itemid) == "null" || getitemname(.@itemid) == "") {next; mes .n$; mes "This item doesn't exists in the database.."; next; goto current_payment; }
set .payitem, .@itemid;
next;
mes .n$;
mes "How many "+getitemname(.payitem)+"s should players pay?";
next;
input .@itemamount;
if(.@itemamount <= 0){next; mes .n$; mes "Please input a # greater than 0!"; next; goto current_payment; }
set .payamount, .@itemamount;
next;
mes "So, the item payment for the entering the game:";
mes "^008000"+.payamount+" "+getitemname(.payitem)+"s";
next;
goto current_payment;
That's from "Skill matching script by Viole".
- Admin can customized 5 items to be given by that NPC.
- Instead of using "getitem", I want to use "rentitem" for a week for example.
3. After finish online customizing (which is only sets what 'rentitem' should be given). Admin will recall a player (only for 1 player at a time).
4. That player will click the NPC
Bla... bla...bla.....
Here's your items..
5. After the player get the 'rentitem' and finish talking to the NPC, then the NPC will be hidden (so, the player can't get the same item again at a time).
- About this 'hidden' NPC thing, if I use :
*hideonnpc "<NPC object name>";
*hideoffnpc "<NPC object name>";
- That's mean I can't use @shownpc NPCNAME right? So, maybe just use :
*disablenpc "<NPC object name>";
*enablenpc "<NPC object name>";
*maybe* I'm not sure about this..
6. For mapflag, I don't want any GM below (level 100) can warp to the map and also cannot be save at there. Only player that recalled by Admin can go there. GM also cannot use @goto PLAYERNAME or @follow PLAYERNAME
Question
uDe
Hello guys...
I want to request a script that can :
1. Only Admin (level 100) can use that NPC
2. Admin can customized the reward online.
- Which mean by using
Example :
That's from "Skill matching script by Viole".
- Admin can customized 5 items to be given by that NPC.
- Instead of using "getitem", I want to use "rentitem" for a week for example.
3. After finish online customizing (which is only sets what 'rentitem' should be given). Admin will recall a player (only for 1 player at a time).
4. That player will click the NPC
5. After the player get the 'rentitem' and finish talking to the NPC, then the NPC will be hidden (so, the player can't get the same item again at a time).
- About this 'hidden' NPC thing, if I use :
- That's mean I can't use @shownpc NPCNAME right? So, maybe just use :
*maybe* I'm not sure about this..
6. For mapflag, I don't want any GM below (level 100) can warp to the map and also cannot be save at there. Only player that recalled by Admin can go there. GM also cannot use @goto PLAYERNAME or @follow PLAYERNAME
That's all I can think right now.
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.