mirror of
https://github.com/justinccdev/opensimulator-tools.git
synced 2026-08-14 01:07:50 +00:00
add set user level command generating tool
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
README
|
||||
|
||||
Another very basic script to generate a bunch of set user level lines for pasting
|
||||
into an OpenSimulator ROBUST console. One use is to diable bots used for load testing.
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from sys import argv
|
||||
|
||||
if len(argv) != 5:
|
||||
print "Usage: %s <first-name> <last-name-stub> <new-level> <no-of-bots>" % argv[0]
|
||||
exit(-1)
|
||||
|
||||
firstName = argv[1]
|
||||
lastNameStub = argv[2]
|
||||
newLevel = argv[3]
|
||||
botCount = int(argv[4])
|
||||
|
||||
for i in range(botCount):
|
||||
print "set user level %s %s_%s %s" % (firstName, lastNameStub, i, newLevel)
|
||||
Reference in New Issue
Block a user