xelander Posted July 11, 2009 Author Share Posted July 11, 2009 Hey, i made my first script, as is a command, personally i cant see any problem, but when i run it, it says:"That is not a valid command!"So, whats wrong whit it?``` Case "/Adminmeeting" If GetPlayerAccess(index) > 4 Then Call AdminMsg("All Admins Shall meet at map 200 in 1 min!",15) Else Call PlayerMsg(index, "You need to be owner to run this command!",4) End If Exit Sub ```Its mostly a test. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted July 11, 2009 Share Posted July 11, 2009 The commands are case sensitive, so you'll need to type "/Adminmeeting", ant not "/adminmeeting"Other then that possibility, I don't see a problem, unless you forgot to save your main.txt and reload your script int he Server Control Panel. Link to comment Share on other sites More sharing options...
xelander Posted July 11, 2009 Author Share Posted July 11, 2009 playing on my friend server, we got so i can edit in-game and it have been retarted, jsut noticed, all commands, new scripted items, spells, and npcs and that, dosn't work, at all.why?… Link to comment Share on other sites More sharing options...
Admiral Refuge Posted July 11, 2009 Share Posted July 11, 2009 @xelander:> playing on my friend server, we got so i can edit in-game and it have been retarted, jsut noticed, all commands, new scripted items, spells, and npcs and that, dosn't work, at all.> why?…Does your friend have scripting turned on?If so, he might have to reload the scripts as well (not sure though). Link to comment Share on other sites More sharing options...
xelander Posted July 11, 2009 Author Share Posted July 11, 2009 @Admiral:> Does your friend have scripting turned on?> > If so, he might have to reload the scripts as well (not sure though).What do you mean scripting turned on?:huh: Link to comment Share on other sites More sharing options...
Alster Posted July 11, 2009 Share Posted July 11, 2009 Check server.exe.There should be a button to turn scripts on or off. Link to comment Share on other sites More sharing options...
xelander Posted July 11, 2009 Author Share Posted July 11, 2009 Ok, ill call him and make him relaod the scripts. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted July 11, 2009 Share Posted July 11, 2009 Yea, someone actually felt the need to write a tutorial for this awhile ago; maybe people do actually need it XDhttp://www.touchofdeathforums.com/smf/index.php/topic,47568.0.html Link to comment Share on other sites More sharing options...
xelander Posted July 11, 2009 Author Share Posted July 11, 2009 Lol, jsut had to reload, took some timefor him to answear, and that, he was outside ._. 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