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"; ">
},
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?
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?