Thread: ? and :
View Single Post
  #1  
Old 03-15-2002, 12:03 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
? and :

My friend had sent me a script that was like this:
NPC Code:

if (playertouchsme){
playerdarts = (playerdarts>=70? 99: playerdarts+30);
}



Could someone please explain what each part of that does like the ? and the 99: and how to use it? I think it has something to do with rounding numbers down but I couldn't figure out how it worked, any help would be greatly appreciated
Reply With Quote