Jump to content


Photo

Response #100


  • Please log in to reply
3 replies to this topic

#1 ottomadenedamotto

ottomadenedamotto
  • Member
  • 30 posts

Posted 21 August 2010 - 01:18 AM

So, this is obviously not a question from an expert, but I see "Response #100" everywhere in the scripts. Since it is so common, I can't really look it up anywhere. Can somebody explain to me what this is?

Thanks in advance.

#2 Mike1072

Mike1072
  • Modder
  • 539 posts

Posted 21 August 2010 - 01:58 AM

So, this is obviously not a question from an expert, but I see "Response #100" everywhere in the scripts. Since it is so common, I can't really look it up anywhere. Can somebody explain to me what this is?

Thanks in advance.

A script will always consist of one or more blocks. A block will always have the following structure:

IF
 Triggers(s)
THEN
 RESPONSE #100
 Action(s)
END
The logic behind this is: IF the triggers are true, THEN perform the actions.

Read more in the Complete Scripting Guide.

#3 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 21 August 2010 - 03:46 AM

...

So the "#100" in plane English is the compared probability the action is taken. Just note that the #'number' is not a percentage if there's more than one "RESPONSE #" -action, but just a number compared up against the total.

Deactivated account. The user today is known as The Imp.


#4 ottomadenedamotto

ottomadenedamotto
  • Member
  • 30 posts

Posted 21 August 2010 - 09:31 AM

Okay. Thanks.