StealthBot.net: Split from topic 2522 - StealthBot.net

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Split from topic 2522

#1 User is offline   Xeda Icon

  • Oh yeah.
  • PipPip
  • Group: Members
  • Posts: 49
  • Joined: October-06 09

Posted January 10, 2010 - 05:29 AM

This is how I created my Slap command.

Private Sub CreateCmds()

   Set cmd = OpenCommand("Slap")
   If cmd Is Nothing Then
      Set cmd = CreateCommand("slap")
      With cmd
         Set Parameter = .NewParameter("Username", False, "word")
         With Parameter
            .Description = "The Username that gets slapped."
         End With
         .Parameters.Add Parameter
         .RequiredRank = 50
         .Description = "Slaps a hoe."
			.Save
		End With
	End If

Posted Image

#2 User is offline   The-Black-Ninja Icon

  • The Sex
  • Icon
  • Group: Scripting Moderators
  • Posts: 2,526
  • Joined: August-01 09

Posted January 10, 2010 - 05:34 AM

And you're still using different cases for checking if the command exists, THEN creating the command. Don't post if you don't know what you're talking about yet.

#3 User is offline   The-Black-Ninja Icon

  • The Sex
  • Icon
  • Group: Scripting Moderators
  • Posts: 2,526
  • Joined: August-01 09

Posted January 10, 2010 - 05:35 AM

I have moved this topic to the Trash Can.
If you have any questions or concerns as to why this topic was trashed, please contact me privately through the board's personal messaging service.
Recreating this thread or discussing these actions publicly is against the rules and will be grounds for a warning. Please do not do it.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users