User Control Panel
Advertisements

HELP US, HELP YOU!

Invite command for maya

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Commands
View unanswered posts
Author Message
Calum
Not Yet a God
Not Yet a God


Joined: 21 Feb 2004
Posts: 373
Location: england
Reputation: 34.7Reputation: 34.7Reputation: 34.7

PostPosted: Mon Mar 08, 2004 6:13 pm    Post subject: Reply with quote

Code:
if ($msg =~ /^invite (.*)/i) {<br />$self->invite($1);<br />$self->sendmsg("Inviting $1, Remember this will only work if he/she is online");<br /> goto end;<br />}


This is my invite command lol hope *lazy* like it Smile


btw: thanks keenie for teaching me that
Quote:
single quotes meen literally '$1' and not the value of $1
because *lazy* i had it as $self->invite('$1'); instead of $self->invite($1); thanks keenie


any way hope this helps
Back to top
Urbansk8
Newbie
Newbie


Joined: 07 Mar 2004
Posts: 10
Location: UK
Reputation: 26.6Reputation: 26.6Reputation: 26.6

PostPosted: Mon Mar 08, 2004 6:26 pm    Post subject: Reply with quote

Great! thanks ive been looking for that an im dumb so i couldnt make it. Razz
Back to top
Calum
Not Yet a God
Not Yet a God


Joined: 21 Feb 2004
Posts: 373
Location: england
Reputation: 34.7Reputation: 34.7Reputation: 34.7

PostPosted: Mon Mar 08, 2004 6:34 pm    Post subject: Reply with quote

lol if *lazy* need any more commands look at the few i posted click here to see them
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Commands All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group