No Spam / Websites +-

мсичġġεт the hypotenuse touchè.

INH code not script

мсичġġεт the hypotenuse I mean.

-~The ORIGINAL Waffle~- He can read minds.

мсичġġεт the hypotenuse

мсичġġεт the hypotenuse how do you know I can't script?

[SB] Teh Adulese Depending on what you need, I could be interested ICT.

IceCream Tuesday Should probably clarify.. lol need someone who is able to code :D

мсичġġεт the hypotenuse why not.

IceCream Tuesday Anyone wanna start a little project?
View Shout History
Recent Topics +-
Menu Lolwut? by мсичġġεт the hypotenuse
Today at 08:58:01 PM

JDK by мсичġġεт the hypotenuse
Today at 08:54:27 PM

my questions by мсичġġεт the hypotenuse
Today at 08:53:41 PM

REALLY EASY NOOB Q by мсичġġεт the hypotenuse
Today at 08:52:24 PM

Adulese is now 16!! by мсичġġεт the hypotenuse
Today at 08:49:38 PM

Duckyz Online! by мсичġġεт the hypotenuse
Today at 08:45:04 PM

[Real Life Picture Thread] by мсичġġεт the hypotenuse
Today at 08:43:39 PM

Want to see some thing awesome? WELL TAKE A CLICK AND SEE A CHICK! by [SB] Teh Adulese
Today at 08:35:57 PM

Eclipse Tea Party by мсичġġεт the hypotenuse
Today at 08:33:23 PM

requesting .hack sprites by dtdsora
Today at 08:32:48 PM

Members Online +-
15 Guests, 19 Users (1 Hidden)
Rose of Depression,
CrAzY,
мсичġġεт the hypotenuse,
Gungho™,
Renzo,
Corbo,
Spechno,
tremsheriff,
dtdsora,
Dastyruck,
[SB] Teh Adulese,
Bobosk,
Zetasis,
Zetta Monkey,
INH,
Anasky,
-~The ORIGINAL Waffle~-,
Doomteam1

Author Topic: /jail playername command  (Read 2266 times)

0 Members and 1 Guest are viewing this topic.

Sting

  • Veteran
  • Active Member
  • *
  • Offline Offline
  • Posts: 427
  • Yup thats me --^
    • View Profile
/jail playername command
« on: February 27, 2007, 01:39:23 PM »
Code: [Select]

'script made by sting
   If LCase(Mid(TextSay, 1, 5)) = "/jail" Then
        If Len(TextSay) > 6 Then
            If GetPlayerAccess(index) < 2 Then
                Call PlayerMsg(index, "You need be of a higher access to use this command!", 4)
                Exit Sub
            End If
               
            n = Mid(TextSay, 6, Len(TextSay) - 5)
            n = FindPlayer(n)
           
            If n <> index Then
                If n > 0 Then
                    Call PlayerWarp(n, 1, 5, 5)
Code: [Select]
                    Call GlobalMsg(GetPlayerName(n) & " has been sent to jail by " & GETplayername(index) & ".", 9)
                    Call AddLog(GetPlayerName(index) & " has warped " & GetPlayerName(n) & " to self, map #" & GetPlayerMap(index) & ".", ADMIN_LOG)
                Else
                    Call PlayerMsg(index, "Player is not online.", 15)
                End If
            Else
                Call PlayerMsg(index, "You cannot jail yourself to yourself!", 15)
            End If
        End If
        Exit Sub
    End If
'script made by sting

that warp is the jail location u kno the part that is left out of code (it still must be included i just didnt put it in code so people could see it easyer)

call player warp(n, map num, x, y)

edit it so it works for u!

EDIT: my bad there was a bug fixed it now tho
« Last Edit: February 27, 2007, 02:24:46 PM by Sting »
Logged
If you asking me to do you a favor and write Plz, simply because it is shorter then please. I will reply no because it is shorter then yes.

Ne0n

  • ๑Developer๑
  • Developer
  • Active Member
  • *
  • Offline Offline
  • Posts: 360
    • View Profile
    • WWW
Re: /jail playername command
« Reply #1 on: February 27, 2007, 01:56:19 PM »
I was making a /jail command lol.. nice, the jails i have are 3 so i'd just add a random to jail on different cells.. thanks
Logged
DanilO Network™ presents Rebelion Online - The Last Survivor

Unique PVP system ever seen, Incredible effects and Features..




Take the Magic: The Gathering 'What Color Are You?' Quiz.
 

Powered by EzPortal
Powered by SMF 2.0 RC1-1 | SMF © 2006–2009, Simple Machines LLC
Mc Dult Theme Design By Cadosoas
Page created in 0.272 seconds with 38 queries.