Thread: Script Help
View Single Post
  #9  
Old 06-09-2003, 12:53 AM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
Quote:
Originally posted by Tseng
putnpc2-ing would be superior.

Also, I'd suggest nesting the money check inside the if playerchats and asks for beer, then you could use an 'else' instead of rechecking if the playerchats and doesn't have the money. Tyrial did this in his example, but did not explain what or why he did. The same goes for your 'playerrupees -5' to the correct way to do that: 'playerrupees -=5'.

And Tyrial...for goodness' sake, please use proper formatting, especially when trying to help someone new. And, explain what you're doing so they can learn. Just posting a way to do it (be it the correct way or not) without an explanation doesn't teach the person anything.
Tseng, i wrote that in the sky.. i didn't open graal or anything, and he didn't say "teach me how to fix this" he asked for help, and i helped him.
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote