function script Cell-Phone {
message strcharinfo(0),"[Cell-Phone]: What would you like?";
swithc(select("Warp:Call Pawn Shop")){
case 2:
close2;
callshop "Tool Dealer#alb",<option>;
//callshop "<name>",<option>;
//The options are:
// 0 = The normal window (buy, sell and cancel)
// 1 = The buy window
// 2 = The sell window
break;
case 1:
warp "Random",0,0;
break;
}
end;
}
I'vesavednpcscripton the server,i try to click the item but itdoes not work.
R> usable item multifunction
in Script Requests
Posted · Edited by nirwannirwan
I've saved npc script on the server, i try to click the item but it does not work.
I keep in npc/prime/kota/Cell-Phone.txt
bump