Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
#include "x2_inc_switches"
void main()
{
// Check if we have the correct event firing the script
if (GetUserDefinedItemEventNumber() != X2_ITEM_EVENT_ACTIVATE) return;
object oPC;
if (!GetIsDM(GetItemActivator())
|| !GetIsPC(GetItemActivatedTarget())
){
SendMessageToPC(GetItemActivator(), "You are not a DM!");
return;}
oPC = GetItemActivatedTarget();
object oTarget;
oTarget = GetItemActivatedTarget();
CreateItemOnObject("char_bann", oPC, 1);
FloatingTextStringOnCreature("Your Character has been banned by a DM.", oPC, TRUE);
//Make the it permanent!
DelayCommand(2.0, ExportSingleCharacter(oPC));
//Now boot them!
DelayCommand(6.0, BootPC(oTarget));
}