Jump to content

  •  

Photo

Unknown command when players are using @


Best Answer Cretino, 06 April 2016 - 02:48 PM

I think the problem is your emulator, because here is fine using '@' commands and '#' commands.

 

@EDIT

 

My screenshots showing how is working:

First screenshot is a player group level 0.

Second screenshot is a game master group level 99.

Spoiler

Go to the full post


  • Please log in to reply
4 replies to this topic

#1 Photons

Photons

    Newbie

  • Members
  • Pip
  • 6 posts
  • Github:dicko

Posted 06 April 2016 - 03:36 AM

http://herc.ws/board...ail-like-admin/ << A code like this. But instead of lvl 99 gms below i want it to be like a normal player .

 

Like this screenshot

Tried this code

But still fails

if ( pc_get_group_level(sd) > 0 ) {							
sprintf(output, msg_txt(153), command);							
clif->message(fd, output);							
return true;						
}						
return false;				
} 
else					
return false;/* display as normal message */			
}

 

Attached Files



#2 Cretino

Cretino

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 06 April 2016 - 06:45 AM

I think is it you want.

Tested and works fine.

 

Attached File  atcommand.c.patch   2.21K   9 downloads



#3 Photons

Photons

    Newbie

  • Members
  • Pip
  • 6 posts
  • Github:dicko

Posted 06 April 2016 - 10:52 AM

I think is it you want.

Tested and works fine.

 

attachicon.gifatcommand.c.patch

Thanks It works great! But when i use # in chat this happen :( Can you kindly try to fix this 

2qjhv7t.jpg



#4 Cretino

Cretino

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 06 April 2016 - 02:48 PM   Best Answer

I think the problem is your emulator, because here is fine using '@' commands and '#' commands.

 

@EDIT

 

My screenshots showing how is working:

First screenshot is a player group level 0.

Second screenshot is a game master group level 99.

Spoiler


Edited by Cretino, 06 April 2016 - 03:00 PM.


#5 Photons

Photons

    Newbie

  • Members
  • Pip
  • 6 posts
  • Github:dicko

Posted 06 April 2016 - 04:27 PM

Thank you. :) Just did a few tweaks and it worked






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users


This topic has been visited by 29 user(s)