Re: SIMPLE custom command
how random, but good job :P
(P.S - I dont think it should be in this section though :P)
Re: SIMPLE custom command
Wow random awesome though ily.
Re: SIMPLE custom command
@typhoid - thanks! thats greatly appreciated. and also thanks for that aha my bad xD
@No0b - thankssss xD
Re: SIMPLE custom command
Re: SIMPLE custom command
Re: SIMPLE custom command
Quote:
Originally Posted by
Hailey
no thank YOU xD
I thanked you, but I don't use no cms shit. I use v18, try making a command for that version XD
Re: SIMPLE custom command
Quote:
Originally Posted by
sean111
I thanked you, but I don't use no cms shit. I use v18, try making a command for that version XD
I dont really know how. im new to making commands lol but ill see what i can figure out O_o
Re: SIMPLE custom command
Quote:
Originally Posted by
sean111
I thanked you, but I don't use no cms shit. I use v18, try making a command for that version XD
to make commands for v18 you need to know how to edit/make a new server.. You can't just add it.. That means you/he have to learn VB6 or C# first :wink:
Anyways, Good job! :thumbup: Does it work for uber btw?
Re: SIMPLE custom command
Quote:
Originally Posted by
RedSeaD1
to make commands for v18 you need to know how to edit/make a new server.. You can't just add it.. That means you/he have to learn VB6 or C# first :wink:
Anyways, Good job! :thumbup: Does it work for uber btw?
hmm thanks for letting me know. ill try to learn that soon but itll probably take a while xD
and thanks so much! Im not sure, havent tested it yet. i just used to template-ish thing on xavi.'s thread but ill try to find out and let you know :)
Re: SIMPLE custom command
If you decide to do one for old school I would advise against it.
Because the only server you will be able to edit that is open source are usa111 (Messy coding) & Debbo 3.5.
And most people use different servers regardless.
Re: SIMPLE custom command
Quote:
Originally Posted by
vLife
If you decide to do one for old school I would advise against it.
Because the only server you will be able to edit that is open source are usa111 (Messy coding) & Debbo 3.5.
And most people use different servers regardless.
thanks for the advice. i dont think ill be making any for oldskools anyways, once i learn to edit the servers, c# and more php, ill be making them for v36 considering thats the version of my hotel.
Re: SIMPLE custom command
But She Can release the VB6 Commands if you need help with an advanced command pm me this commands good for a person who just startedog
Re: SIMPLE custom command
Alright thanks. and i just did start! aha
anywaysss i have noo clue what VB6 is ;s
Re: SIMPLE custom command
Quote:
Originally Posted by
Hailey
So, I read Xavi's tutorial on how to create commands and i took up the opportunity to try one out.
here's the code:
Code:
#region :drink
case "alcohol":
{
Room.sendSaying(roomUser, "*Pours some vodka into a shotglass and drinks*");
Room.sendSaying(roomUser, "*gets tipsy*");
User.sendData("BK" + "Dont fall over!");
break;
}
#endregion
there was an advanced code, i mixed it around. it came out like this:
Code:
#region :drink
case "alcohol":
{
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
dbClient.runQuery("UPDATE users SET health = health - '35' WHERE name = '" + _Username + "'");
dbClient.runQuery("UPDATE users SET credits = credits - '250' WHERE name = '" + _Username + "'");
Room.sendSaying(roomUser, "*Pours some vodka into a shotglass and drinks*");
_Mission = "[Intoxicated] tipsy!";
Room.sendSaying(roomUser, "*Gets tipsy*");
this.statusManager.containsStatus("lay");
User.sendData("BK" + "Dont fall over!");
}
break;
}
#endregion
If i did anything wrong, or you want to edit something post below.
hailey
credits:
xavi - tutorial
me - command
Also, i was wondering if this command can be used on a v36 hotel, or only an RP hotel. any clarification on this would be awesome
You did not refresh the mission variables sir.