Jump to content
  • 0

announce to dispbottom help!


Vince Jimenez

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  68
  • Reputation:   1
  • Joined:  10/16/12
  • Last Seen:  

i need some help! i want my broadcaster script instead of announce make it dispbottom ? :( 


here is my script!

 

 

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

// Broadcaster NPC:
// version: 1.0
// Custom Server NPC:
// scripted: BrainWind
//
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
prontera,164,175,5 script Broadcaster 114,{
//what's the npc name to show in messages?
set @npcname$, "Broadcaster";
//NPC Headers Name:
set @header$,"[^0000ff" + @npcname$ + "^000000]";
//NPC COST PER Broadcast:
set @broadcastfee, 1000000;
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
mes @header$;
mes "Hi, I'm the Broadcaster";
mes "I can Broadcast a message for you";
next;
mes @header$;
mes "It costs ^ff0000"+ @broadcastfee +"^000000 zeny ";
next;
mes @header$;
mes "Would you like to Broadcast?";
switch (select("-yes","-No")){
case 1:
if(@Broadcast> gettimetick(2)) {
next;
mes @header$;
mes "Sorry you have to wait for 3min.";
close;
}
next;
mes @header$;
if(Zeny<1000000) goto $nozenybc;
set Zeny,zeny - @broadcastfee;
mes "Please input your message.";
next;
input @broadcast$;
announce "[ Shout ] "+strcharinfo(0)+": "+@broadcast$+"",0,0xB1FB17;
close2;
set @Broadcast, gettimetick(2)+180;
dispbottom "Broadcaster: Please wait for 3min until next broadcast to avoid flooding.";
end;
case 2:
mes "Suit yourself";
close;
}
$nozenybc:
mes "I have to check that you have";
mes "enough money";
next;
mes @header$;
mes "Im sorry but you dont have ^ff0000"+@broadcastfee+"^000000 zeny";
mes "Go get it if you want to Broadcast";
close;
OnInit:
waitingroom "Broadcaster",0;
end;
}
hugel.gat,90,151,5 duplicate(Broadcaster) Broadcaster#1 114
morocc.gat,144,101,5 duplicate(Broadcaster) Broadcaster#2 114
geffen.gat,113,65,5 duplicate(Broadcaster) Broadcaster#3 114
payon.gat,169,238,5 duplicate(Broadcaster) Broadcaster#4 114
alberta.gat,195,156,5 duplicate(Broadcaster) Broadcaster#5 114
izlude.gat,127,120,5 duplicate(Broadcaster) Broadcaster#6 114
aldebaran.gat,133,120,5 duplicate(Broadcaster) Broadcaster#7 114
xmas.gat,142,136,5 duplicate(Broadcaster) Broadcaster#8 114
comodo.gat,196,162,5 duplicate(Broadcaster) Broadcaster#9 114
amatsu.gat,207,98,5 duplicate(Broadcaster) Broadcaster#10 114
gonryun.gat,154,126,5 duplicate(Broadcaster) Broadcaster#11 114
umbala.gat,97,157,5 duplicate(Broadcaster) Broadcaster#12 114
louyang.gat,212,51,5 duplicate(Broadcaster) Broadcaster#13 114
ayothaya.gat,155,121,5 duplicate(Broadcaster) Broadcaster#14 114
einbroch.gat,56,203,5 duplicate(Broadcaster) Broadcaster#15 114
lighthalzen.gat,153,85,5 duplicate(Broadcaster) Broadcaster#16 114
einbech.gat,67,107,5 duplicate(Broadcaster) Broadcaster#17 114
rachel.gat,132,117,5 duplicate(Broadcaster) Broadcaster#18 114
yuno.gat,149,126,5 duplicate(Broadcaster) Broadcaster#19 114
new_3-2.gat,183,172,5 duplicate(Broadcaster) Broadcaster#20 114
turbo_room.gat,100,120,5 duplicate(Broadcaster) Broadcaster#20 114
 
 


the problem is once ive tried to change the announce to dispbottom its working but the player who only use the broadcaster npc can see the dispbottom i just want only once player use the broadcaster npc its dipsbottom and all players online can see ! Please! ThaNKS IN ADV.

 

 

AND SORRY FOR MY BAD BAD ENGLISH:)

Link to comment
Share on other sites

1 answer 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.

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...