Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2015-03-31 07:08:23

Xfrogman43
Member
From: need to find a new home
Joined: 2015-02-15
Posts: 4,174

case "k": and /removecrown

If you have code in

 case "k":

then it should work when somebody has crown and it should NOT work when somebody DOESN'T have crown.
Well, when you do /removecrown playername, then it still acts like that player has the crown and will execute the code.


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#2 2015-03-31 08:35:42

Priddle
Member
From: The Netherlands
Joined: 2015-02-15
Posts: 454

Re: case "k": and /removecrown

You will receive the message but the player id should be -1.

Offline

#3 2015-03-31 16:31:23

Xfrogman43
Member
From: need to find a new home
Joined: 2015-02-15
Posts: 4,174

Re: case "k": and /removecrown

I didn't get -1...
DVXmZas.png


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#4 2015-03-31 21:22:08

DarkDragon4900
Member
Joined: 2015-03-17
Posts: 251

Re: case "k": and /removecrown

case "k":
MessageBox.Show(e.GetInt(0).ToString());
break;

// Output:
// 3
// 1
// -1 <- /removecrown

Offline

#5 2015-03-31 23:25:04

Xfrogman43
Member
From: need to find a new home
Joined: 2015-02-15
Posts: 4,174

Re: case "k": and /removecrown

Yeah... I didn't get -1. As you can see in my picture.


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#6 2015-04-06 12:02:05

DarkDragon4900
Member
Joined: 2015-03-17
Posts: 251

Re: case "k": and /removecrown

Oh, I never tried it, really.
I might do soon, though, I am unable to do so at the moment.

Offline

#7 2015-04-18 06:08:26

CJMaeder
Member
From: Lame Land
Joined: 2015-04-06
Posts: 219

Re: case "k": and /removecrown

Fixed as of 191


Lame!

Offline

CJMaeder1429333706495909

Board footer

Powered by FluxBB

[ Started around 1714355415.912 - Generated in 0.068 seconds, 10 queries executed - Memory usage: 1.39 MiB (Peak: 1.49 MiB) ]