Needs to pick up mulitple users

I have a plugin that runs in a bot. I want to tie it to certain account numbers. I can get it to tie to one account but I want to include others so I can tie it into as many as I want. This is in PHP I am just including the part that keeps giving me errors.

$stuffs =####### ; $bot->SendMsg($stuffs); $myID1 = strval($bot->zyUid); $myID = strval($bot->zyUid) ; $whatisthis = strpos ($stuffs, $myID); if (empty($stuffs) == false){ if ($whatisthis === false){ $bot->SendMsg('...ACCESS RESTRICTED - USER REPORTED - Time to Exit.'); $bot->SendMsg('');

is the number that I will input myself. How do I set up that line to accept mulitple entries or should I have another file to get the numbers from? If that is so how would I format that file?

please change this to

[php]
if (!empty($stuffs)){

[/php]
first

and lets see what else we can find

Thanks I done some searching and changed my coding entirely. I am using an array now with an if else statement to search and compare values.

ok cool

I would give you karma but it won’t let me :frowning:

thats ok as long as you got your code working 8)

Sponsor our Newsletter | Privacy Policy | Terms of Service