Gwen Posted August 8, 2008 Author Share Posted August 8, 2008 Sub ScriptedTile(Index, Script) Select Case Script Case 0 Call PlayerMsg(Index, "This scripted tile has no apparent use.", WHITE) Call Test() Exit Sub Case Else Call PlayerMsg(Index, "No tile script found. Please contact an admin to solve this problem.", WHITE) Exit Sub End SelectEnd SubSub Test() Call PlayerMsg(Index, "test", WHITE)End SubI know its been a while since i scripted, but I dont think I completely forgot how to make subs.It will do the this tile has no use message, but not the test message in the test sub Link to comment Share on other sites More sharing options...
Guest Posted August 8, 2008 Share Posted August 8, 2008 It should be Sub Test(index), and Call Test(index). Then it should work fine, I believe. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now