help with this script

Kei

New member
Messages
101
Points
0
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

Code:
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;		}}
 
Please share your solution to others
default_smile.png


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