Jump to content
  • 0
Sign in to follow this  
Kei

help with this script

Question

i try to add time on fakename but i don't know if its correct .. i want it to have a fakename for 10secs for test then after 10secs it will back to normal

 

 

prontera,150,150,4	script	Dragon Slayer	54,{	mes "Would you like to become Dragon Slayer or Demon Slayer?";	next;	switch(select("Yes:No.")) {	case 1:		mes "Select what you want to become";		switch(select("Dragon Slayer:Demon Slayer")) {		case 1:		if(countitem(7777) > 0) {		delitem 7777,1;		addtimer 10000, strnpcinfo(0)+"::Ontitle";		Ontitle:		atcommand "@fakename [Dragon Slayer] "+ strcharinfo(0);		close;		}		else {		mes "You don't have any requirements for Dragon Slayer or Demon Slayer.";		mes "Come back when you get one.";		close;		}				case 2:		if(countitem(7778) > 0) {		delitem 7778,1;		atcommand "@fakename [Demon Slayer] "+ strcharinfo(0);		mes "Congrats You've become Demon Slayer";		close;		}		else {		mes "You don't have any requirements for Dragon Slayer or Demon Slayer.";		mes "Come back when you get one.";		close;		}		}	 case 2:		mes "Very well, I shall be here if you change your mind.";		close;		}}

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

 

 addtimer 10000, strnpcinfo(0)+"::Ontitle";close; <--- forgot to put		Ontitle:		atcommand "@fakename [Dragon Slayer] "+ strcharinfo(0);        end; <--- from close i change it to end		}

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.