Thread: adding both buy x and trade x

Results 1 to 2 of 2
  1. #1 adding both buy x and trade x 
    elweb
    Guest
    [Only registered and activated users can see links. ]

    I would like to follow this tutorial, but I have already coded my own version of trade X, I was wondering how I would go about adding two things to the same case whether it be by an else statement or declaring a new variable and creating a method+switch?
    Reply With Quote  
     

  2. #2  
    Registered Member
    X Mercy X's Avatar
    Join Date
    May 2009
    Age
    28
    Posts
    1,336
    Thanks given
    3
    Thanks received
    41
    Rep Power
    301
    change the case id, as it doesn't matter.

    example - send the input as case X so its usually a variable, so inputId = X;

    then you can do
    case x:
    code here
    break;
    just some advice

    [Only registered and activated users can see links. ]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •