Although you might not wanna do that as it will skip all dialog if placed in the setMessage.
Take a look at ExoDave's Better Invites mod implementation of only skipping some dialogs.
Take a look at ExoDave's Better Invites mod implementation of only skipping some dialogs.
CODE
Code:
private function setMessage(param1:String) : void
{
this.message = param1;
var _loc2_:* = new Array();
_loc2_[0] = "for a price of";
_loc2_[1] = "Gem Booster Box\'";
_loc2_[2] = "Re-Gemerator\'";
_loc2_[3] = "completed";
_loc2_[4] = "Dragon Coins";
var _loc3_:* = 0;
while(_loc3_ < _loc2_.length)
{
if(this.message.toLowerCase().indexOf(_loc2_[_loc3_].toLowerCase()) > 0)
{
_loc3_ = _loc2_.length;
ExternalInterface.call("MESSAGEDIALOG.RESPONSE",0);
}
_loc3_++;
}
if(this.message.length < 90)
{
this.messageTextField.y = -65;
}
}
#16 ·
