Akkarin Posted August 23, 2012 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3145 Reputation: 1633 Joined: 03/26/12 Last Seen: Friday at 12:11 AM Share Posted August 23, 2012 PCLogin Settings By Akkarin You know when you login to your server that you work on, or even play on, and you always end up typing the same commands each time before you even say hello to anyone? @autoloot, then @uptime to see when the last reboot was, @rates if you've got fluctuating exp/drop rates, etc etc. @showexp cos you want to know what's going on, blah blah blah. With this Settings NPC, a player can set those commands to automatically execute when they login. These are account based, but could easily be modified to char based. Following the general format of the script, it should be easy to add/remove commands from those available to the player. @main is listed at the bottom of the script, so if you don't use it you may as-well remove that line. This script is years old, revamped to make it work with recent revisions - i've tested it on both our live server, and my dev server and seems to work.. but if you find any bugs or glitches, or something that could be optimised abit more, please let me know settings.txt 2 Quote Link to comment Share on other sites More sharing options...
Euphy Posted August 23, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted August 23, 2012 So many variables... x.x Try using a bit variable to store values instead: Tips_and_Tricks_(Scripting)#Use_binary_methods_to_store_large_number_of_flags_.281_and_0.29. trunk/doc/quest_variables.txt 1 Quote Link to comment Share on other sites More sharing options...
Akkarin Posted August 23, 2012 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3145 Reputation: 1633 Joined: 03/26/12 Last Seen: Friday at 12:11 AM Author Share Posted August 23, 2012 I actually forgot about that x_X thanks Euphy Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.