Jump to content
  • 0

atcommand "@mute <#> <name>";


WhatFT

Question


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

I had an idea of making a simple script but I'm just having a hard time on this part..

 

M_Mute2:
		mes "Enter the COMPLETE name";
	next;
		input .@c_name$;
	next;
                mes "How many minutes will you mute [ "+ .@c_name$ +" ]?";
                input .@min_mute$;
        next;

	atcommand "@mute "+ .@min_mute$ "+ .@c_name$;
	next;
		mes " [ "+ .@c_name$ +" ] has been muted for [ "+ .@min_mute$ +" ] minutes.";
	close;

 

This is part of my script. I don't really understand it lol :)) I'm new in making scripts and still aiming high to make better scripts..

 

This is the line that I'm talking about/taking error..

 

atcommand "@mute "+ .@min_mute$ "+ .@c_name$;
"+ .@min_mute$

 

 

Hope someone will help me ! 

Edited by Paulinds
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

I had an idea of making a simple script but I'm just having a hard time on this part..

 

M_Mute2:
		mes "Enter the COMPLETE name";
	next;
		input .@c_name$;
	next;
                mes "How many minutes will you mute [ "+ .@c_name$ +" ]?";
                input .@min_mute$;
        next;

	atcommand "@mute "+ .@min_mute$ "+ .@c_name$;
	next;
		mes " [ "+ .@c_name$ +" ] has been muted for [ "+ .@min_mute$ +" ] minutes.";
	close;

 

This is part of my script. I don't really understand it lol :)) I'm new in making scripts and still aiming high to make better scripts..

 

This is the line that I'm talking about/taking error..

 

atcommand "@mute "+ .@min_mute$ "+ .@c_name$;
"+ .@min_mute$

 

 

Hope someone will help me ! 

atcommand "@mute "+.@min_mute$+" "+.@c_name$;

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

I had an idea of making a simple script but I'm just having a hard time on this part..

 

M_Mute2:
		mes "Enter the COMPLETE name";
	next;
		input .@c_name$;
	next;
                mes "How many minutes will you mute [ "+ .@c_name$ +" ]?";
                input .@min_mute$;
        next;

	atcommand "@mute "+ .@min_mute$ "+ .@c_name$;
	next;
		mes " [ "+ .@c_name$ +" ] has been muted for [ "+ .@min_mute$ +" ] minutes.";
	close;

 

This is part of my script. I don't really understand it lol :)) I'm new in making scripts and still aiming high to make better scripts..

 

This is the line that I'm talking about/taking error..

 

atcommand "@mute "+ .@min_mute$ "+ .@c_name$;
"+ .@min_mute$

 

 

Hope someone will help me ! 

atcommand "@mute "+.@min_mute$+" "+.@c_name$;

 

Oh great ! Thanks TrojanWorm :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...