Any work in progress .....

astralprojection

New member
Messages
334
Points
0
{
Id: 12221
AegisName: "Megaphone_"
Name: "Megaphone"
Type: "IT_DELAYCONSUME"
Buy: 2
Weight: 10
Trade: {
nodrop: true
notrade: true
noselltonpc: true
nocart: true
nogstorage: true
nomail: true
noauction: true
}
Script: <" callfunc "F_Megaphone"; ">
},



Code:
function	script	F_Megaphone	{
	if (Class == 0) {
		dispbottom "Sorry, you can't use the channel while still a Novice";
		end;
	}
	if (strcharinfo(PC_MAP) == "sec_pri" ) {
		dispbottom "Sorry, you can't use the channel in jail.";
		end;
	}
	input @megaphone$;
	loudhailer(@megaphone$);
	end;
}

1. Using novice use megaphone = "Sorry, you can't use the channel while still a Novice
2 try again = Any work in progress (NPC dialog....

any idea where i messed it up? 

 
as you can see on the function 
megaphone can't use by job Novice

 
as you can see on the function 
megaphone can't use by job Novice
Yes its true but it should return the dispbottom message if used by novice.
The problem after  2nd try (still novice)  it display  .... Any work in progress (NPC dialog.... and need to relog to use again.

 
Last edited by a moderator:
Back
Top