<-ULXR -> Ass Replacement For Admins by Magic.
Before you use this in console type; < wire_expression2_concmd 1 > then spawn the e2, and just use away
Commands;
!kick <Player> to kick!(X)
!ban <Player> to ban!(X)
!vkick <Player> to votekick!
!vban <Player> to voteban!
!gchat <text> to chat across servers!
!clean To cleanup!
!gclean To Global cleanup!(X)
!ragdoll To go to and from Ragdoll mode!
!afk To Activate AFK Mode!
!back To De-Activate AFK Mode!
!validate To Validate <-ULXR->!(E)
!exit To Exit ULXR!
(X) = Admins only, (E) = Experimental
@name <- ULXR ->
@inputs
@outputs
@persist Afk ValD AI
@trigger
runOnChat(1)
LS1=lastSaid()
LS=lastSaid():explode(" ")
if( first() | duped() ) {
timer("Ads1",10000)
print(" <-ULXR-> Ass Replacement For Admins by Magic")
print("!kick <Player> to kick!(X)")
print("!ban <Player> to ban!(X)")
print("!vkick <Player> to votekick!")
print("!vban <Player> to voteban!")
print("!gchat <text> to chat across servers!")
print("!clean To cleanup!")
print("!gclean To Global cleanup!(X)")
print("!ragdoll To go to and from Ragdoll mode!")
print("!afk To Activate AFK Mode!")
print("!back To De-Activate AFK Mode!")
print("!validate To Validate <-ULXR->!(E)")
print("!exit To Exit ULXR!")
print("Dont forget!, Type < wire_expression2_concmd 1 > in console !")
concmd("say This User ("+owner():name()+") Is Using <- ULXR -> ULXRemake By Magic!")
hint(" <-ULXR-> ",500)
hint("ULXR - Ass Replacement For Admins by Magic",500)
hint("(X) = Admins only, (E) = Experimental",500)
hint("Don't forget!, Type < 'wire_expression2_concmd 1' > in console !",500)
}
if (chatClk(owner()) & LS:string(1):lower() == "!vkick") {
print("<-ULXR-> VoteKicking(5) by Nick-Name: "+LS1)
timer("vKick",500)
}
if (chatClk(owner()) & LS:string(1):lower() == "!vban") {
print("<-ULXR-> VoteBanning(60) Nick-Name: "+LS1)
timer("vBan",500)
}
if (chatClk(owner()) & LS:string(1):lower() == "!kick") {
print("<-ULXR-> Kicking(5) by Nick-Name: "+LS1)
timer("Kick",500)
}
if (chatClk(owner()) & LS:string(1):lower() == "!ban") {
print("<-ULXR-> Banning(60) Nick-Name: "+LS1)
timer("Ban",500)
}
if (chatClk(owner())&(LS:string(1) == "!clean")) {
print("<-ULXR-> Cleaning... ")
timer("Clean",500)
}
if (chatClk(owner())&(LS:string(1) == "!gclean")) {
print("<-ULXR-> Globally Cleaning... ")
timer("GClean",500)
}
if (chatClk(owner())&(LS:string(1) == "!ragdoll")) {
print("<-ULXR-> Ragdoll mode ")
timer("Rag",500)
}
if (chatClk(owner())&(LS:string(1) == "!gchat")) {
print("<-ULXR-> Global Saying: "+LS1)
timer("GChat",500)
}
if (chatClk(owner())&(LS:string(1) == "!afk")) {
print("<-ULXR-> AFK mode Active ")
Afk=1
}
if (chatClk(owner())&(LS:string(1) == "!back")) {
print("<-ULXR-> AFK mode Deactive ")
concmd("say <- ULXR -> (AFK Mode): This user is back from AFK")
Afk=0
}
if (chatClk(owner())&(LS:string(1) == "!validate")) {
print("<-ULXR-> Validating... ")
timer("Val",500)
}
#ads
if (clk("Ads1")) {
print(" <-ULXR-> Ass Replacement For Admins by Magic")
print("!kick <Player> to kick!(X)")
print("!ban <Player> to ban!(X)")
print("!vkick <Player> to votekick!")
print("!vban <Player> to voteban!")
print("!gchat <text> to chat across servers!")
print("!clean To cleanup!")
print("!gclean To Global cleanup!(X)")
print("!ragdoll To go to and from Ragdoll mode!")
print("!afk To Activate AFK Mode!")
print("!back To De-Activate AFK Mode!")
print("!validate To Validate <-ULXR->!(E)")
print("!exit To Exit ULXR!")
print("Dont forget!, Type < wire_expression2_concmd 1 > in console !")
timer("Ads2",60000)
}
elseif (clk("Ads2")) {
print(" <-ULXR-> ")
print("ULXR - Ass Replacement For Admins by Magic")
timer("Ads1",60000)
}
if (Afk==1) {
timer("Afk2",40000)
}
if (clk("Afk2") & Afk==1) {
concmd("say <- ULXR -> (AFK mode): I'm Afk!")
concmd("silly_squirrel")
}
#delays and modes
if(clk("vKick")){
concmd( "say votekick "+LS:string(2) )
}
if(clk("vBan")) {
concmd( "say voteban "+LS:string(2):lower() )
}
if(clk("Kick")){
concmd( "kickid "+LS:string(2) )
}
if(clk("Ban")) {
concmd( "banid 60 "+LS:string(2):lower() )
}
if(clk("GChat")) {
concmd( "say /gl "+LS1)
}
if(clk("Clean")) {
concmd( "gmod_cleanup" )
}
if(clk("GClean")) {
concmd( "gmod_admin_cleanup" )
}
if(clk("Rag")) {
concmd( "silly_squirrel" )
}
if(clk("Val") & ValD==0) {
concmd( "status" )
print("Connecting... (http://www.1227.com/val.php)")
timer("Val1",10000)
} elseif (clk("Val1")) {
print("Checking Username: ("+owner():name()+") ... And SteamID: ("+owner():steamID()+")... ")
timer("Val2",10000)
} elseif (clk("Val2")) {
print("Validating...")
timer("Vald",15000)
}elseif (clk("Vald")) {
print("Validated you may now use the !kick and !ban commands!")
print("This is only experimental!!!")
ValD=1
}
#exit
if (chatClk(owner()) & (LS:string(1):lower() == "!exit")) {
hint(" Thanks for using Magic's <- ULXR ->",100)
print("<-ULXR-> : Hope You Had A Nice Time Using Magic's ULXRemake !")
concmd("echo thank you for using Magic's ULXR Hope you had a nice time!")
selfDestructAll()
}
update as of 6th January