View Single Post
  #1  
Old 04-12-2002, 05:39 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Dumb script that won't work

NPC Code:

if (created) {
setimg door.png;
setshape 1,32,32;
mine.onea=0;
}
if (playerchats&&strequals(#c,rent mine 1)&&playergralat<5&&mine.onea=0){
playergralat-=5;
tokenize #a;
mine.onea=1;
say2 You have mine 1 for 30 minutes;
timeout=1800;
}
if (playerchats&&strequals(#c,rent mine 1)&&mine.onea=1){
say2 That mine is rented already;
}
if (playerchats&&strequals(#c,rent mine 1)&&playergralat<5&&mine.onea=0){
say2 You need 5g to rent a mine!;
}
if (playertouchsme&&(#a,#t)&&mine.onea=1){
setlevel2 rentmine2.nw,6,7;
}



I keep getting the "this mine is already rented" message.
__________________
Reply With Quote