Linky1 Posted November 8, 2011 Share Posted November 8, 2011 Hi all, I have just got into scripting and made a test script which doesn't seem to work, this is the script: scriptname LincolnsSpell short updateCount Begin ScriptEffectStart RemoveAllItemsEnd Begin ScriptEffectUpdate set updateCount to updateCount + 1End Begin ScriptEffectFinish Message Spell is finished. ScriptEffectUpdate was run % .Of times, updateCountEnd When I try to save it it says: Script 'LincolnsSpell', line 14:Message time must be an intergerCompiled script not saved! Please could someone explain how to fix this? Thanks, Linky1 Link to comment Share on other sites More sharing options...
Lanceor Posted November 8, 2011 Share Posted November 8, 2011 I think % .Of should have been % .0f... note the difference between the letter Oh and the number zero. ;) I assume that the missing quotation marks were due to the forum software rendering them that way. Link to comment Share on other sites More sharing options...
Linky1 Posted November 9, 2011 Author Share Posted November 9, 2011 I think % .Of should have been % .0f... note the difference between the letter Oh and the number zero. ;) I assume that the missing quotation marks were due to the forum software rendering them that way. This worked, Thanks man! Kudos Link to comment Share on other sites More sharing options...
Recommended Posts