ZelosAvalon New member Messages 218 Points 0 Age 34 Emulator Feb 21, 2015 #2 whats the difference between questprogress and !questprogress ? Last edited by a moderator: Feb 21, 2015
malufett Retired Staff Messages 657 Points 0 Location Philippines Github malufett Emulator Feb 21, 2015 #3 '!' is a 'not' operator example if `questprogress` is equal to '1' then we will use it in a logical statement if(questprogress){ // this means that `questprogress` > 0// code here will parse cause the statement is satisfied} otherwise if(!questprogress){ // this means that `questprogress` not > 0// code here will not parse cause the statement is not satisfied} Last edited by a moderator: Feb 21, 2015
'!' is a 'not' operator example if `questprogress` is equal to '1' then we will use it in a logical statement if(questprogress){ // this means that `questprogress` > 0// code here will parse cause the statement is satisfied} otherwise if(!questprogress){ // this means that `questprogress` not > 0// code here will not parse cause the statement is not satisfied}