How do I code custom commands

melisa

Member
Oct 17, 2014
41
0
Okay well All i want it to do is when you say
:Smokeweed
It will say *Grabs a joint and starts smoking weed*
 

JayC

Always Learning
Aug 8, 2013
5,494
1,398
So you're going to have a case number (the next in line) if this is phoenix EMU at least this is how you do it..

So:
Case 152 {
if(Session.GetHabbo().HasFuse("cmd_smokeweed"){
Session.GetHabbo().Shout("*Grabs a joint and starts smoking weed*");
}
}

There might need to be some more in that but thats roughly how you do it.
 

Users who are viewing this thread

Top