Author: AwaKening
Version: 1.3.6
Description: Expand your shaman capabilities by demoting offline shaman to promote online shaman from a list.
Requirements: Stealthbot Version v2.7 Build 442+
Commands:
addshaman <username> <priority 0-100>
Priority is optional - 0 priority is given if none specified
adds specified user to the list
remshaman <username>
removes a user from the list
rotation
list the shamans on the rotation list
shamans
lists current shaman and rotational
Settings:
LeavesClanRemoveUser
Remove users from the rotational setting if they leave the clan; otherwise they would remain on the list with their priority intact
Default = True
userFlags
Members with any of these flags will be rotated in addition to the Rotational List
Default = Null
userAccess
Members with this access level or higher will be rotated in addition to the Rotational List
Default = Null
rotational
Shamans that will be rotated seperate by comma space
Priority can be given (0-100) by use of * (0 is assumed if none is specified)
Default = shaman1*0, shaman2*0, shaman3*1
minimumTime
Minutes a shaman has to be online before a new logon can bump them
Default = 120
Additional Notes:
Chieftan rank is required by the bot for this script to function!
Settings can be changed in scripts.ini (please look at settings for details)
NEW SETTINGS:
userAccess and userFlags in scripts.ini to allow rotations by flag/access levels
Changing either of these 2 settings requires a script reload to take effect
Priorities have been added to specified rotational shamans. You can add a priority by simply using the /addshaman feature and specifying the priority even if the user is already listed. Lets say AwaKening is on the rotation with no priority specified. I will just type
/addshaman awakening 10
or
/addshaman awakening*10
If multiple shamans are online with equal priorities, then the promotion will be determined by time online. User will not be promoted unless the time is greater than the threshhold setting "minimumTime"
Updates:
' 1.3.6 ' - Added setting to remove a user from rotation if they leave the clan (true by default) ' - Fixed priority demotions when bot is reloading script or logging on ' 1.3.5 ' - Minor code improvements that bugged me ' - Added cint to priority check that may have been affecting priority promotions ' 1.3.4 ' - Bot will now make needed promotions/demotions when logging on or reloading ' 1.3.3 ' - Fixed priority promotions when a shaman logs off and others are waiting ' 1.3.2 ' - Made shamans Public for use in other scripts ' 1.3.1 ' - Fixed priority setting in scripts.ini showing more than once on some users ' - Fixed rotational shaman by flags ' - Minor code improvements ' 1.3.0 ' - Priority can now be added to a shaman 0-100 ' - Removed some repeat item updates and shortened code ' - Added a promotion sub to cleanup some of the ShamanLoggedOn Sub ' - Lots of recoding to work with priorities ' 1.2.1 ' - Fixed an error from occuring due to loading shaman from list that left the clan ' - Rotation command will now list users that have flags or access req if used ' 1.2.0 ' - Added version to settings ' - Created Functions Add and RemoveShaman to clean up the Command Event ' - Added command shamans (alias shaman) to list permanent and rotational shaman ' 1.1.4 ' - Fixed Error Line 173 when removing a shaman that is not in the clan anymore ' - Fixed Error Line 294 (Problem with rotational shaman being removed from clan) ' 1.1.3 ' - Added a delay between demoting and promoting a new shaman to avoid errors ' - Won't try to promote peons in clan under 1 week anymore ' - Added AddChat's for all promotion/demotions of the usernames (mostly for debugging) ' 1.1.2 ' - Fixed initial shaman loading when bot firstrun ' 1.1.1 ' - Fixed promotion from peon to Shaman (Thanks Pyro) ' - Fixed an error in Event_ClanMemberList with initial login ' 1.1.0 ' - Fixed an error with demoting a shaman more than once after logging off (Thanks raylu) ' - Added userFlags and userAccess setting to allow rotations by Flag or Access Level ' - Fixed an error from occuring when a non-clan member is on the rotation list ' (Scripting runtime error '9' in Rotation: (line 265; column 2)) ' 1.0.4 ' - Fixed an error promoting an online candidate shaman when another logs off ' - Fixed a bunch of dictionary item rank updates ' - Disabled some functionality in script reload temporarily ' 1.0.3 ' - Fixed offline shaman demotions ' - Fixed multiple promotion attempts for same user ' 1.0.2 ' - Tied in with ClanSafety script to prevent users from re-logging to get shaman ' 1.0.1 ' - Changed CreateCommand method due to a new bug in SB
Attached File(s)
-
Rotation.txt (19.55K)
Number of downloads: 217