• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Deletion

Xagul

deathzot.net
Joined
Jun 30, 2008
Messages
1,295
Solutions
3
Reaction score
1,043
Hello, I have a script that is partially working but I just need some info on how to finish it.

Basically I am trying to make a script that will delete a character (like a ban that will never be lifted)

Ive been trying to get this to work:

Code:
doAddPlayerBanishment(getPlayerGUID(cid), type, os.time() + 1 * 3200, 12, ACTION_DELETION, "test", 2)

However I cant figure out what to set "type" to, atm all I've been able to do with this function is namelock o.O
 
One of the following:
Code:
PLAYERBAN_NONE = 0
PLAYERBAN_REPORT = 1
PLAYERBAN_LOCK = 2
PLAYERBAN_BANISHMENT = 3
 
Yea I actually tried 1-3 but it seems the only time it does anything is with 2 (name locks them) I cant get it to actually delete them =\
 
Back
Top